Crayola crayon color

Crayola Vivid Violet #8F509D

Crayola Vivid Violet is shown here as #8F509D, the commonly published value for the crayon. It is a soft magenta in the violet family. In OKLCH it sits at lightness 0.536, chroma 0.134 and hue 320.1°. The nearest CSS named color is darkorchid (#9932CC), ΔE2000 9.8 away.

Relative luminance
0.1401
OKLCH L · C · h
0.536 · 0.134 · 320.1
Best text
White 5.52:1
Hue family
Violet

#8F509D color codes

HEX
#8F509D
RGB
rgb(143, 80, 157)
HSL
hsl(289, 32%, 46%)
OKLCH
oklch(0.536 0.134 320.1)
OKLab
oklab(0.536 0.103 -0.086)
CIELAB (D65)
L* 44.25, a* 39.08, b* -31.18
XYZ (D65)
X 20.28, Y 14.01, Z 33.53
CMYK (naive)
cmyk(9%, 49%, 0%, 38%)

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 #8F509D accessible?

White text on it reaches 5.52:1, passing AA. Black text manages only 3.80: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.80:1

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

    5.52:1

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

    3.80:1

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

    5.52:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #8F509D 5.52:1

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

  • For text on black

    #9B5CAA 4.50:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #8F509D 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 #8F509D

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

  1. 50#FCF0FF
    White
    1.10
    Black
    19.04
  2. 100#FAE2FF
    White
    1.20
    Black
    17.38
  3. 200#F4C3FF
    White
    1.48
    Black
    14.09
  4. 300#E2A3F0
    White
    1.95
    Black
    10.73
  5. 400#C685D4
    White
    2.72
    Black
    7.70
  6. 500#A969B8
    White
    3.88
    Black
    5.39
  7. 600This color#8F509D
    White
    5.52
    Black
    3.80
  8. 700#773B84
    White
    7.65
    Black
    2.74
  9. 800#5B2467
    White
    11.09
    Black
    1.89
  10. 900#400D4A
    White
    15.27
    Black
    1.37
  11. 950#280030
    White
    18.53
    Black
    1.13

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

Gamut

How vivid #8F509D can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.257; #8F509D uses 52% of it. Display P3, which many recent phones and laptops show, reaches 0.277 there: 8% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.134
sRGB edge
0.257
Display P3 edge
0.277
Rec. 2020 edge
0.315
Dominant wavelength
Complementary 557 nm
Excitation purity
44%
Chromaticity
x 0.2990, y 0.2066
  • This color#8F509D
  • Most vivid in sRGB#A900C6
  • Most vivid in Display P3oklch(0.536 0.277 320.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: #8f509d;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.6206 0 0.7723); }
}

Mixing

Mixing #8F509D

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%#C7A8CE
  • OKLab50%#C7A6CE
  • OKLCH50%#C7A6CE

Black #000000

  • sRGB50%#48284F
  • OKLab50%#341A3A
  • OKLCH50%#341A3A

Its complement #3D7F2E

  • sRGB50%#666866
  • OKLab50%#6D6D6D
  • OKLCH50%#A85111
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #8f509d, white);
color: color-mix(in oklch, #8f509d 50%, white);

In use

#8F509D 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:15.52:1 Passes
  • Link and body-size textText, 4.5:15.52:1 Passes
  • Large headingLarge text, 3:15.52:1 Passes
  • Icons, borders and focus ringsNon-text, 3:15.52:1 Passes

Dark page

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

For text on this page, the nearest shade that passes is #A565B3 4.56:1

Color vision

How #8F509D looks with color blindness

Achromatopsia changes it most, ΔE2000 24.5; tritanopia changes it least, 14.4.

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

    #4464A0 ΔE2000 21.7

    Distinct

    Reads as soft blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #566B9B ΔE2000 19.6

    Distinct

    Reads as muted blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #905A6F ΔE2000 14.4

    Distinct

    Reads as muted pink

  • Achromatopsia

    No cone color vision; lightness only

    #696969 ΔE2000 24.5

    Distinct

    Reads as gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#8F509D · #3D7F2E68.0Stays distinct
Protanopia#4464A0 · #82742547.3Stays distinct
Deuteranopia#566B9B · #7A6E3540.2Stays distinct
Tritanopia#905A6F · #367B6E42.5Stays distinct
Achromatopsia#696969 · #7171713.1Easily confused

Harmony

Color harmonies for #8F509D

Its complement is #3D7F2E, a soft green.

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

Open the Harmony Studio
  • Base#8F509D
  • Complement#3D7F2E

Complementary

Open in Harmony Studio
  • −30°#6E5DB5
  • Base#8F509D
  • +30°#A54878
  • Base#8F509D
  • +120°#8F6500
  • +240°#007D82
  • Base#8F509D
  • +150°#727300
  • +210°#008164

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-vivid-violet: #8f509d;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-crayola-vivid-violet: oklch(0.536 0.134 320.1);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-vivid-violet": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.5608, 0.3137, 0.6157],
        "hex": "#8f509d"
      },
      "$description": "Crayola Vivid Violet"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaVividViolet = Color(.sRGB, red: 0.561, green: 0.314, blue: 0.616, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaVividViolet = Color(0xFF8F509D)
}

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 #8F509D in the tools

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