#EC8CF6#EC8CF6
#EC8CF6 is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.8% C 0.176 H 323.6°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #EC8CF6 |
|---|---|
| RGB | rgb(236, 140, 246) |
| HSL | hsl(294, 85%, 76%) |
| HSV | hsv(294, 43%, 96%) |
| CMYK | cmyk(4.1%, 43.1%, 0%, 3.5%) |
| CIE-LAB | lab(71.72, 52.24, -38.06) |
| CIE-LCH | lch(71.72, 64.63, 323.93°) |
| OKLab | oklab(77.76% 0.1418 -0.1045) |
| OKLCH | oklch(77.76% 0.176 323.6) |
| XYZ | xyz(60.6031, 43.2454, 92.3258) |
| Luminance | 0.4324 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.30
Purply Pink
#F075E6
ΔE00 4.92
Lavender Pink
#DD85D7
ΔE00 5.15
Candy Pink
#FF63E9
ΔE00 7.46
Orchid
#DA70D6
ΔE00 7.47
Light Magenta
#FA5FF7
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC8CF6 #96F68C
analogous
#B78CF6 #EC8CF6 #F68CCB
triadic
#EC8CF6 #F6EC8C #8CF6EC
tetradic
#EC8CF6 #F6B78C #96F68C #8CCBF6
square
#EC8CF6 #F6B78C #96F68C #8CCBF6
split-complementary
#EC8CF6 #CBF68C #8CF6B7
monochromatic
#D91AED #E353F2 #EC8CF6 #F5C5FA #FAE3FD
Accessibility & contrast
On white
2.18
#EC8CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#EC8CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC8CF6
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC8CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC8CF6 | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80A8FA
Deuteranopia (green-blind)
#9AB4F3
Tritanopia (blue-blind)
#F098B6
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ec8cf6; /* rgb */ color: rgb(236, 140, 246); /* oklch */ color: oklch(77.8% 0.176 323.6);
Tailwind
colors: {
custom: {
50: '#f4b0f9',
500: '#ec8cf6',
950: '#000000',
},
}SCSS
$custom: #ec8cf6; $custom-light: #f4b0f9; $custom-dark: #000000;
JSON
{
"hex": "#ec8cf6",
"rgb": {
"r": 236,
"g": 140,
"b": 246
},
"hsl": {
"h": 294.34,
"s": 85.484,
"l": 75.686
},
"oklch": {
"l": 0.77756,
"c": 0.17612,
"h": 323.6
},
"luminance": 0.43243
}Semantic roles & 50–950 ramp
primary
#EC8CF6
secondary
#D9F5D6
accent
#E20419
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085