#EA8CDC#EA8CDC
#EA8CDC is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.4% C 0.151 H 332.6°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #EA8CDC |
|---|---|
| RGB | rgb(234, 140, 220) |
| HSL | hsl(309, 69%, 73%) |
| HSV | hsv(309, 40%, 92%) |
| CMYK | cmyk(0%, 40.2%, 6%, 8.2%) |
| CIE-LAB | lab(70.47, 47.02, -25.75) |
| CIE-LCH | lch(70.47, 53.61, 331.30°) |
| OKLab | oklab(76.43% 0.134 -0.0696) |
| OKLCH | oklch(76.43% 0.151 332.6) |
| XYZ | xyz(56.2276, 41.4189, 72.7292) |
| Luminance | 0.4142 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.77
Violet (CSS)
#EE82EE
ΔE00 4.34
Purply Pink
#F075E6
ΔE00 5.41
Bubblegum Pink
#FE83CC
ΔE00 5.55
Plum
#DDA0DD
ΔE00 5.62
Orchid
#DA70D6
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EA8CDC #8CEA9A
analogous
#C98CEA #EA8CDC #EA8CAD
triadic
#EA8CDC #DCEA8C #8CDCEA
tetradic
#EA8CDC #EAC98C #8CEA9A #8CADEA
square
#EA8CDC #EAC98C #8CEA9A #8CADEA
split-complementary
#EA8CDC #ADEA8C #8CEAC9
monochromatic
#D527BB #E158CC #EA8CDC #F3C0EC #FAE5F7
Accessibility & contrast
On white
2.26
#EA8CDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#EA8CDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EA8CDC
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EA8CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EA8CDC | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AA4DF
Deuteranopia (green-blind)
#A3B1D9
Tritanopia (blue-blind)
#F291AA
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #ea8cdc; /* rgb */ color: rgb(234, 140, 220); /* oklch */ color: oklch(76.4% 0.151 332.6);
Tailwind
colors: {
custom: {
50: '#f2afe7',
500: '#ea8cdc',
950: '#000000',
},
}SCSS
$custom: #ea8cdc; $custom-light: #f2afe7; $custom-dark: #000000;
JSON
{
"hex": "#ea8cdc",
"rgb": {
"r": 234,
"g": 140,
"b": 220
},
"hsl": {
"h": 308.936,
"s": 69.118,
"l": 73.333
},
"oklch": {
"l": 0.76433,
"c": 0.15098,
"h": 332.6
},
"luminance": 0.41416
}Semantic roles & 50–950 ramp
primary
#EA8CDC
secondary
#D9F2DD
accent
#D13114
background
#FFFAFE
surface
#FEF5FC
border
#D6CFD5
text
#171116
muted
#858084