#EC8CF4#EC8CF4
#EC8CF4 is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.7% C 0.174 H 324.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8CF4 |
|---|---|
| RGB | rgb(236, 140, 244) |
| HSL | hsl(295, 83%, 75%) |
| HSV | hsv(295, 43%, 96%) |
| CMYK | cmyk(3.3%, 42.6%, 0%, 4.3%) |
| CIE-LAB | lab(71.64, 51.87, -37.09) |
| CIE-LCH | lch(71.64, 63.77, 324.43°) |
| OKLab | oklab(77.67% 0.1414 -0.1017) |
| OKLCH | oklch(77.67% 0.174 324.3) |
| XYZ | xyz(60.2977, 43.1233, 90.7179) |
| Luminance | 0.4312 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.16
Purply Pink
#F075E6
ΔE00 4.79
Lavender Pink
#DD85D7
ΔE00 4.85
Orchid
#DA70D6
ΔE00 7.33
Candy Pink
#FF63E9
ΔE00 7.38
Plum
#DDA0DD
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8CF4 #94F48C
analogous
#B88CF4 #EC8CF4 #F48CC8
triadic
#EC8CF4 #F4EC8C #8CF4EC
tetradic
#EC8CF4 #F4B88C #94F48C #8CC8F4
square
#EC8CF4 #F4B88C #94F48C #8CC8F4
split-complementary
#EC8CF4 #C8F48C #8CF4B8
monochromatic
#DA1CE9 #E354EF #EC8CF4 #F5C4F9 #FAE3FC
Accessibility & contrast
On white
2.18
#EC8CF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#EC8CF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8CF4
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8CF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8CF4 | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81A8F8
Deuteranopia (green-blind)
#9BB4F1
Tritanopia (blue-blind)
#F098B5
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ec8cf4; /* rgb */ color: rgb(236, 140, 244); /* oklch */ color: oklch(77.7% 0.174 324.3);
Tailwind
colors: {
custom: {
50: '#f4b0f8',
500: '#ec8cf4',
950: '#000000',
},
}SCSS
$custom: #ec8cf4; $custom-light: #f4b0f8; $custom-dark: #000000;
JSON
{
"hex": "#ec8cf4",
"rgb": {
"r": 236,
"g": 140,
"b": 244
},
"hsl": {
"h": 295.385,
"s": 82.54,
"l": 75.294
},
"oklch": {
"l": 0.77668,
"c": 0.1742,
"h": 324.3
},
"luminance": 0.43121
}Semantic roles & 50–950 ramp
primary
#EC8CF4
secondary
#D9F4D7
accent
#DF0717
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085