Crayola crayon color

Crayola Plum #8E4585

Crayola Plum is shown here as #8E4585, the commonly published value for the crayon. It is a soft magenta in the pink family. In OKLCH it sits at lightness 0.506, chroma 0.129 and hue 332.1°. The nearest CSS named color is darkmagenta (#8B008B), ΔE2000 10.3 away.

Relative luminance
0.1170
OKLCH L · C · h
0.506 · 0.129 · 332.1
Best text
White 6.28:1
Hue family
Pink

#8E4585 color codes

HEX
#8E4585
RGB
rgb(142, 69, 133)
HSL
hsl(307, 35%, 41%)
OKLCH
oklch(0.506 0.129 332.1)
OKLab
oklab(0.506 0.114 -0.060)
CIELAB (D65)
L* 40.74, a* 39.98, b* -22.18
XYZ (D65)
X 17.52, Y 11.70, Z 23.52
CMYK (naive)
cmyk(0%, 51%, 6%, 44%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Crayola is a trademark of Crayola LLC, which this site is not affiliated with. The value is the commonly published sRGB rendering of the crayon, not a Crayola specification.

Legibility

Contrast: is #8E4585 accessible?

White text on it reaches 6.28:1, passing AA. Black text manages only 3.34:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    3.34:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +23
  • White text on it

    6.28:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −86
  • As text on black

    3.34:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −20
  • As text on white

    6.28:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +80

Nearest versions that pass 4.5:1

  • For text on white

    #8E4585 6.28:1

    It already reaches 6.28:1 on white, so no change is needed.

  • For text on black

    #A65B9C 4.59:1

    Lightening its OKLCH lightness from 0.51 to 0.58 reaches 4.59:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #8E4585 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #8E4585

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #8E4585 sits at step 600.

  1. 50#FFF0FC
    White
    1.09
    Black
    19.12
  2. 100#FFE0F9
    White
    1.21
    Black
    17.28
  3. 200#FFC0F5
    White
    1.48
    Black
    14.11
  4. 300#ECA0E0
    White
    1.96
    Black
    10.67
  5. 400#CF83C4
    White
    2.72
    Black
    7.69
  6. 500#B367A8
    White
    3.87
    Black
    5.42
  7. 600This color#8E4585
    White
    6.28
    Black
    3.34
  8. 700#7F3976
    White
    7.63
    Black
    2.74
  9. 800#62225B
    White
    11.05
    Black
    1.89
  10. 900#450B40
    White
    15.27
    Black
    1.37
  11. 950#2B0028
    White
    18.52
    Black
    1.13

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #8E4585 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.228; #8E4585 uses 57% of it. Display P3, which many recent phones and laptops show, reaches 0.251 there: 10% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.129
sRGB edge
0.228
Display P3 edge
0.251
Rec. 2020 edge
0.290
Dominant wavelength
Complementary 541 nm
Excitation purity
44%
Chromaticity
x 0.3321, y 0.2219
  • This color#8E4585
  • Most vivid in sRGB#A8009C
  • Most vivid in Display P3oklch(0.506 0.251 332.1)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #8e4585;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.6197 0 0.6116); }
}

Mixing

Mixing #8E4585

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#C7A2C2
  • OKLab50%#C8A0C1
  • OKLCH50%#C8A0C1

Black #000000

  • sRGB50%#472343
  • OKLab50%#341530
  • OKLCH50%#341530

Its complement #0B793E

  • sRGB50%#4D5F62
  • OKLab50%#656565
  • OKLCH50%#006BA3
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #8e4585, white);
color: color-mix(in oklch, #8e4585 50%, white);

In use

#8E4585 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:16.28:1 Passes
  • Link and body-size textText, 4.5:16.28:1 Passes
  • Large headingLarge text, 3:16.28:1 Passes
  • Icons, borders and focus ringsNon-text, 3:16.28:1 Passes

Dark page

  • Button labelText, 4.5:16.28:1 Passes
  • Link and body-size textText, 4.5:12.97:1 Fails
  • Large headingLarge text, 3:12.97:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.97:1 Fails

For text on this page, the nearest shade that passes is #AE62A4 4.53:1

Color vision

How #8E4585 looks with color blindness

Achromatopsia changes it most, ΔE2000 24.2; tritanopia changes it least, 12.5.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #435987 ΔE2000 23.0

    Distinct

    Reads as dark muted blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #586483 ΔE2000 21.0

    Distinct

    Reads as muted blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #934A5F ΔE2000 12.5

    Distinct

    Reads as soft pink

  • Achromatopsia

    No cone color vision; lightness only

    #606060 ΔE2000 24.2

    Distinct

    Reads as dark gray

Pairing check

Checked against its complement, #0B793E. Their lightness contrast is only 1.14:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#8E4585 · #0B793E66.2Stays distinct
Protanopia#435987 · #796E3940.0Stays distinct
Deuteranopia#586483 · #6E664230.4Stays distinct
Tritanopia#934A5F · #00776B50.7Stays distinct
Achromatopsia#606060 · #6969693.4Easily confused

Harmony

Color harmonies for #8E4585

Its complement is #0B793E, a soft green, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#8E4585
  • Complement#0B793E

Complementary

Open in Harmony Studio
  • −30°#7350A1
  • Base#8E4585
  • +30°#9E3F5F
  • Base#8E4585
  • +120°#7A6200
  • +240°#007282
  • Base#8E4585
  • +150°#596F00
  • +210°#007569

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-crayola-plum: #8e4585;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'crayola-plum': '#8e4585',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-crayola-plum: oklch(0.506 0.129 332.1);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-plum": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.5569, 0.2706, 0.5216],
        "hex": "#8e4585"
      },
      "$description": "Crayola Plum"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaPlum = Color(.sRGB, red: 0.557, green: 0.271, blue: 0.522, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaPlum = Color(0xFF8E4585)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #8E4585 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.