Crayola crayon color

Crayola Thistle #EBC7DF

Crayola Thistle is shown here as #EBC7DF, the commonly published value for the crayon. It is a pale muted magenta in the pink family. In OKLCH it sits at lightness 0.867, chroma 0.051 and hue 338.4°. The nearest CSS named color is thistle (#D8BFD8), ΔE2000 4.0 away.

Relative luminance
0.6384
OKLCH L · C · h
0.867 · 0.051 · 338.4
Best text
Black 13.76:1
Hue family
Pink

#EBC7DF color codes

HEX
#EBC7DF
RGB
rgb(235, 199, 223)
HSL
hsl(320, 47%, 85%)
OKLCH
oklch(0.867 0.051 338.4)
OKLab
oklab(0.867 0.048 -0.019)
CIELAB (D65)
L* 83.88, a* 16.67, b* -7.15
XYZ (D65)
X 68.00, Y 63.84, Z 78.54
CMYK (naive)
cmyk(0%, 15%, 5%, 8%)

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 #EBC7DF accessible?

Black text on it reaches 13.76:1, passing AAA. White text fails at 1.52:1.

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

    13.76:1

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

    1.52:1

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

    13.76:1

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

    1.52:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +24

Nearest versions that pass 4.5:1

  • For text on white

    #8D6D82 4.52:1

    Darkening its OKLCH lightness from 0.87 to 0.57 reaches 4.52:1 on white, keeping the hue.

  • For text on black

    #EBC7DF 13.76:1

    It already reaches 13.76:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #EBC7DF 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 #EBC7DF

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

  1. 50#FFF0FA
    White
    1.09
    Black
    19.09
  2. 100#FFE1F5
    White
    1.21
    Black
    17.34
  3. 200This color#EBC7DF
    White
    1.52
    Black
    13.76
  4. 300#D3B2C8
    White
    1.91
    Black
    10.97
  5. 400#B796AC
    White
    2.63
    Black
    7.97
  6. 500#9B7B91
    White
    3.72
    Black
    5.63
  7. 600#836379
    White
    5.21
    Black
    4.02
  8. 700#6B4D62
    White
    7.33
    Black
    2.86
  9. 800#503648
    White
    10.70
    Black
    1.96
  10. 900#372030
    White
    14.87
    Black
    1.41
  11. 950#210F1C
    White
    18.26
    Black
    1.14

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

Gamut

How vivid #EBC7DF can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.099; #EBC7DF uses 52% of it. Display P3, which many recent phones and laptops show, reaches 0.132 there: 34% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.051
sRGB edge
0.099
Display P3 edge
0.132
Rec. 2020 edge
0.193
Dominant wavelength
Complementary 524 nm
Excitation purity
12%
Chromaticity
x 0.3232, y 0.3034
  • This color#EBC7DF
  • Most vivid in sRGB#FFBAEA
  • Most vivid in Display P3oklch(0.867 0.132 338.4)

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

Use the wider color where screens show it
.accent {
  color: #ebc7df;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 1 0.7093 0.9316); }
}

Mixing

Mixing #EBC7DF

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

Black #000000

  • sRGB50%#766470
  • OKLab50%#5B4C56
  • OKLCH50%#5B4C56

Its complement #B8DEC7

  • sRGB50%#D2D3D3
  • OKLab50%#D3D3D3
  • OKLCH50%#BAD7F4
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #ebc7df, white);
color: color-mix(in oklch, #ebc7df 50%, white);

In use

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

For text on this page, the nearest shade that passes is #8D6D82 4.52:1

Dark page

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

Color vision

How #EBC7DF looks with color blindness

Achromatopsia changes it most, ΔE2000 16.3; tritanopia changes it least, 6.1.

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

    #C8CEE0 ΔE2000 15.6

    Distinct

    Reads as pale grayish blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #D0D3DE ΔE2000 15.1

    Distinct

    Reads as light gray

  • Tritanopia

    No working blue (short-wavelength) cones

    #F0C8CF ΔE2000 6.1

    Noticeable

    Reads as pale grayish pink

  • Achromatopsia

    No cone color vision; lightness only

    #D1D1D1 ΔE2000 16.3

    Distinct

    Reads as light gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#EBC7DF · #B8DEC732.4Stays distinct
Protanopia#C8CEE0 · #DDD8C617.0Stays distinct
Deuteranopia#D0D3DE · #D6D3C810.9Stays distinct
Tritanopia#F0C8CF · #B2DDD735.5Stays distinct
Achromatopsia#D1D1D1 · #D5D5D50.9Easily confused

Harmony

Color harmonies for #EBC7DF

Its complement is #B8DEC7, a pale muted 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#EBC7DF
  • Complement#B8DEC7

Complementary

Open in Harmony Studio
  • −30°#DDCBEE
  • Base#EBC7DF
  • +30°#F3C6CD
  • Base#EBC7DF
  • +120°#DCD4AE
  • +240°#AEDCEA
  • Base#EBC7DF
  • +150°#C9DAB7
  • +210°#AEDFDA

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-thistle: #ebc7df;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-crayola-thistle: oklch(0.867 0.051 338.4);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-thistle": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.9216, 0.7804, 0.8745],
        "hex": "#ebc7df"
      },
      "$description": "Crayola Thistle"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaThistle = Color(.sRGB, red: 0.922, green: 0.780, blue: 0.875, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaThistle = Color(0xFFEBC7DF)
}

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

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