#EC86FC#EC86FC
#EC86FC is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.2% C 0.192 H 322.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #EC86FC |
|---|---|
| RGB | rgb(236, 134, 252) |
| HSL | hsl(292, 95%, 76%) |
| HSV | hsv(292, 47%, 99%) |
| CMYK | cmyk(6.3%, 46.8%, 0%, 1.2%) |
| CIE-LAB | lab(70.81, 56.36, -42.75) |
| CIE-LCH | lch(70.81, 70.74, 322.82°) |
| OKLab | oklab(77.16% 0.1511 -0.1179) |
| OKLCH | oklch(77.16% 0.192 322) |
| XYZ | xyz(60.6859, 41.9139, 96.9701) |
| Luminance | 0.4191 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.54
Purply Pink
#F075E6
ΔE00 4.67
Lavender Pink
#DD85D7
ΔE00 6.09
Violet Pink
#FB5FFC
ΔE00 6.34
Light Magenta
#FA5FF7
ΔE00 6.44
Candy Pink
#FF63E9
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC86FC #96FC86
analogous
#B186FC #EC86FC #FC86D1
triadic
#EC86FC #FCEC86 #86FCEC
tetradic
#EC86FC #FCB186 #96FC86 #86D1FC
square
#EC86FC #FCB186 #96FC86 #86D1FC
split-complementary
#EC86FC #D1FC86 #86FCB1
monochromatic
#D90FF9 #E34AFB #EC86FC #F5C2FD #FAE1FE
Accessibility & contrast
On white
2.24
#EC86FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#EC86FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC86FC
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC86FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC86FC | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#93B1F9
Tritanopia (blue-blind)
#EF95B5
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #ec86fc; /* rgb */ color: rgb(236, 134, 252); /* oklch */ color: oklch(77.2% 0.192 322.0);
Tailwind
colors: {
custom: {
50: '#f4acfe',
500: '#ec86fc',
950: '#000000',
},
}SCSS
$custom: #ec86fc; $custom-light: #f4acfe; $custom-dark: #000000;
JSON
{
"hex": "#ec86fc",
"rgb": {
"r": 236,
"g": 134,
"b": 252
},
"hsl": {
"h": 291.864,
"s": 95.161,
"l": 75.686
},
"oklch": {
"l": 0.77163,
"c": 0.19161,
"h": 322
},
"luminance": 0.41911
}Semantic roles & 50–950 ramp
primary
#EC86FC
secondary
#D9F6D5
accent
#E6001F
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#171018
muted
#857F86