#EC8FEF#EC8FEF
#EC8FEF is a light, vivid purple. Relative luminance 0.437; OKLCH L 77.9% C 0.164 H 325.9°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8FEF |
|---|---|
| RGB | rgb(236, 143, 239) |
| HSL | hsl(298, 75%, 75%) |
| HSV | hsv(298, 40%, 94%) |
| CMYK | cmyk(1.3%, 40.2%, 0%, 6.3%) |
| CIE-LAB | lab(72.04, 49.44, -33.75) |
| CIE-LCH | lch(72.04, 59.86, 325.68°) |
| OKLab | oklab(77.9% 0.1362 -0.0922) |
| OKLCH | oklch(77.9% 0.164 325.9) |
| XYZ | xyz(59.9932, 43.7124, 86.9218) |
| Luminance | 0.4371 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.70
Lavender Pink
#DD85D7
ΔE00 4.31
Purply Pink
#F075E6
ΔE00 5.17
Plum
#DDA0DD
ΔE00 6.46
Orchid
#DA70D6
ΔE00 7.60
Candy Pink
#FF63E9
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8FEF #92EF8F
analogous
#BC8FEF #EC8FEF #EF8FC2
triadic
#EC8FEF #EFEC8F #8FEFEC
tetradic
#EC8FEF #EFBC8F #92EF8F #8FC2EF
square
#EC8FEF #EFBC8F #92EF8F #8FC2EF
split-complementary
#EC8FEF #C2EF8F #8FEFBC
monochromatic
#DA24E0 #E359E7 #EC8FEF #F5C5F7 #FAE4FB
Accessibility & contrast
On white
2.16
#EC8FEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#EC8FEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8FEF
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8FEF | 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)
#86A9F2
Deuteranopia (green-blind)
#9FB5EC
Tritanopia (blue-blind)
#F199B4
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ec8fef; /* rgb */ color: rgb(236, 143, 239); /* oklch */ color: oklch(77.9% 0.164 325.9);
Tailwind
colors: {
custom: {
50: '#f4b2f4',
500: '#ec8fef',
950: '#000000',
},
}SCSS
$custom: #ec8fef; $custom-light: #f4b2f4; $custom-dark: #000000;
JSON
{
"hex": "#ec8fef",
"rgb": {
"r": 236,
"g": 143,
"b": 239
},
"hsl": {
"h": 298.125,
"s": 75,
"l": 74.902
},
"oklch": {
"l": 0.77899,
"c": 0.16446,
"h": 325.9
},
"luminance": 0.4371
}Semantic roles & 50–950 ramp
primary
#EC8FEF
secondary
#D9F3D8
accent
#D70E15
background
#FFFBFE
surface
#FEF6FD
border
#D6D0D5
text
#171117
muted
#858085