#EC8CF2#EC8CF2
#EC8CF2 is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.6% C 0.172 H 324.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8CF2 |
|---|---|
| RGB | rgb(236, 140, 242) |
| HSL | hsl(296, 80%, 75%) |
| HSV | hsv(296, 42%, 95%) |
| CMYK | cmyk(2.5%, 42.1%, 0%, 5.1%) |
| CIE-LAB | lab(71.56, 51.51, -36.13) |
| CIE-LCH | lch(71.56, 62.92, 324.95°) |
| OKLab | oklab(77.58% 0.141 -0.099) |
| OKLCH | oklch(77.58% 0.172 324.9) |
| XYZ | xyz(59.9957, 43.0025, 89.1272) |
| Luminance | 0.4300 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.07
Lavender Pink
#DD85D7
ΔE00 4.57
Purply Pink
#F075E6
ΔE00 4.68
Orchid
#DA70D6
ΔE00 7.22
Candy Pink
#FF63E9
ΔE00 7.31
Plum
#DDA0DD
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8CF2 #92F28C
analogous
#B98CF2 #EC8CF2 #F28CC5
triadic
#EC8CF2 #F2EC8C #8CF2EC
tetradic
#EC8CF2 #F2B98C #92F28C #8CC5F2
square
#EC8CF2 #F2B98C #92F28C #8CC5F2
split-complementary
#EC8CF2 #C5F28C #8CF2B9
monochromatic
#DA1EE6 #E355EC #EC8CF2 #F5C3F8 #FAE4FC
Accessibility & contrast
On white
2.19
#EC8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.60
#EC8CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8CF2
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8CF2 | 1.00 | 2.19 | 9.60 | 9.60 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82A8F6
Deuteranopia (green-blind)
#9CB3EF
Tritanopia (blue-blind)
#F097B4
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ec8cf2; /* rgb */ color: rgb(236, 140, 242); /* oklch */ color: oklch(77.6% 0.172 324.9);
Tailwind
colors: {
custom: {
50: '#f4b0f6',
500: '#ec8cf2',
950: '#000000',
},
}SCSS
$custom: #ec8cf2; $custom-light: #f4b0f6; $custom-dark: #000000;
JSON
{
"hex": "#ec8cf2",
"rgb": {
"r": 236,
"g": 140,
"b": 242
},
"hsl": {
"h": 296.471,
"s": 79.687,
"l": 74.902
},
"oklch": {
"l": 0.7758,
"c": 0.1723,
"h": 324.9
},
"luminance": 0.43
}Semantic roles & 50–950 ramp
primary
#EC8CF2
secondary
#D9F4D7
accent
#DC0A16
background
#FFFBFF
surface
#FEF6FE
border
#D6D0D6
text
#171117
muted
#858085