#EC9CFD#EC9CFD
#EC9CFD is a light, vivid purple. Relative luminance 0.487; OKLCH L 80.5% C 0.157 H 320.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #EC9CFD |
|---|---|
| RGB | rgb(236, 156, 253) |
| HSL | hsl(289, 96%, 80%) |
| HSV | hsv(289, 38%, 99%) |
| CMYK | cmyk(6.7%, 38.3%, 0%, 0.8%) |
| CIE-LAB | lab(75.27, 45.33, -36.35) |
| CIE-LCH | lch(75.27, 58.11, 321.27°) |
| OKLab | oklab(80.51% 0.1206 -0.0997) |
| OKLCH | oklch(80.51% 0.157 320.4) |
| XYZ | xyz(64.2080, 48.7037, 98.9280) |
| Luminance | 0.4870 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 5.64
Mauve
#E0B0FF
ΔE00 5.71
Lilac (survey)
#CEA2FD
ΔE00 6.36
Baby Purple
#CA9BF7
ΔE00 6.37
Plum
#DDA0DD
ΔE00 6.48
Lavender (survey)
#C79FEF
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC9CFD #ADFD9C
analogous
#BC9CFD #EC9CFD #FD9CDD
triadic
#EC9CFD #FDEC9C #9CFDEC
tetradic
#EC9CFD #FDBC9C #ADFD9C #9CDDFD
square
#EC9CFD #FDBC9C #ADFD9C #9CDDFD
split-complementary
#EC9CFD #DDFD9C #9CFDBC
monochromatic
#D524FB #E060FC #EC9CFD #F8D8FE #F9E1FE
Accessibility & contrast
On white
1.96
#EC9CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.74
#EC9CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC9CFD
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC9CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC9CFD | 1.00 | 1.96 | 10.74 | 10.74 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FB4FF
Deuteranopia (green-blind)
#A4BCFA
Tritanopia (blue-blind)
#EEA7C1
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #ec9cfd; /* rgb */ color: rgb(236, 156, 253); /* oklch */ color: oklch(80.5% 0.157 320.4);
Tailwind
colors: {
custom: {
50: '#f3bafe',
500: '#ec9cfd',
950: '#000000',
},
}SCSS
$custom: #ec9cfd; $custom-light: #f3bafe; $custom-dark: #000000;
JSON
{
"hex": "#ec9cfd",
"rgb": {
"r": 236,
"g": 156,
"b": 253
},
"hsl": {
"h": 289.485,
"s": 96.04,
"l": 80.196
},
"oklch": {
"l": 0.80508,
"c": 0.1565,
"h": 320.4
},
"luminance": 0.48702
}Semantic roles & 50–950 ramp
primary
#EC9CFD
secondary
#DAF7D4
accent
#E60028
background
#FFFBFF
surface
#FEF6FF
border
#D6D0D7
text
#171218
muted
#858186