#EC8CFD#EC8CFD
#EC8CFD is a light, vivid purple. Relative luminance 0.437; OKLCH L 78.1% C 0.183 H 321.4°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8CFD |
|---|---|
| RGB | rgb(236, 140, 253) |
| HSL | hsl(291, 97%, 77%) |
| HSV | hsv(291, 45%, 99%) |
| CMYK | cmyk(6.7%, 44.7%, 0%, 0.8%) |
| CIE-LAB | lab(72.02, 53.55, -41.41) |
| CIE-LCH | lch(72.02, 67.69, 322.28°) |
| OKLab | oklab(78.07% 0.143 -0.1141) |
| OKLCH | oklch(78.07% 0.183 321.4) |
| XYZ | xyz(61.6977, 43.6833, 98.0912) |
| Luminance | 0.4368 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.07
Purply Pink
#F075E6
ΔE00 5.53
Lavender Pink
#DD85D7
ΔE00 6.20
Baby Purple
#CA9BF7
ΔE00 7.31
Violet Pink
#FB5FFC
ΔE00 7.50
Liliac
#C48EFD
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8CFD #9DFD8C
analogous
#B38CFD #EC8CFD #FD8CD6
triadic
#EC8CFD #FDEC8C #8CFDEC
tetradic
#EC8CFD #FDB38C #9DFD8C #8CD6FD
square
#EC8CFD #FDB38C #9DFD8C #8CD6FD
split-complementary
#EC8CFD #D6FD8C #8CFDB3
monochromatic
#D814FB #E250FC #EC8CFD #F6C8FE #FAE1FE
Accessibility & contrast
On white
2.16
#EC8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#EC8CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8CFD
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8CFD | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#97B4FA
Tritanopia (blue-blind)
#EE9AB9
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ec8cfd; /* rgb */ color: rgb(236, 140, 253); /* oklch */ color: oklch(78.1% 0.183 321.4);
Tailwind
colors: {
custom: {
50: '#f4b0fe',
500: '#ec8cfd',
950: '#000000',
},
}SCSS
$custom: #ec8cfd; $custom-light: #f4b0fe; $custom-dark: #000000;
JSON
{
"hex": "#ec8cfd",
"rgb": {
"r": 236,
"g": 140,
"b": 253
},
"hsl": {
"h": 290.973,
"s": 96.581,
"l": 77.059
},
"oklch": {
"l": 0.78073,
"c": 0.18294,
"h": 321.4
},
"luminance": 0.43681
}Semantic roles & 50–950 ramp
primary
#EC8CFD
secondary
#D9F7D4
accent
#E60023
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171118
muted
#858086