#D286EC#D286EC
#D286EC is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.5% C 0.162 H 317.1°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #D286EC |
|---|---|
| RGB | rgb(210, 134, 236) |
| HSL | hsl(285, 73%, 73%) |
| HSV | hsv(285, 43%, 93%) |
| CMYK | cmyk(11%, 43.2%, 0%, 7.5%) |
| CIE-LAB | lab(67.13, 45.94, -39.95) |
| CIE-LCH | lch(67.13, 60.88, 318.99°) |
| OKLab | oklab(73.54% 0.1187 -0.1104) |
| OKLCH | oklch(73.54% 0.162 317.1) |
| XYZ | xyz(50.2416, 36.8094, 83.7990) |
| Luminance | 0.3681 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.99
Liliac
#C48EFD
ΔE00 5.07
Lavender Pink
#DD85D7
ΔE00 5.34
Baby Purple
#CA9BF7
ΔE00 5.85
Light Purple
#BF77F6
ΔE00 6.03
Orchid
#DA70D6
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D286EC #A0EC86
analogous
#9F86EC #D286EC #EC86D3
triadic
#D286EC #ECD286 #86ECD2
tetradic
#D286EC #EC9F86 #A0EC86 #86D3EC
square
#D286EC #EC9F86 #A0EC86 #86D3EC
split-complementary
#D286EC #D3EC86 #86EC9F
monochromatic
#A822D6 #BE51E4 #D286EC #E6BBF4 #F5E5FB
Accessibility & contrast
On white
2.51
#D286EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#D286EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D286EC
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D286EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D286EC | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#759FF0
Deuteranopia (green-blind)
#89A6E9
Tritanopia (blue-blind)
#D194AE
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d286ec; /* rgb */ color: rgb(210, 134, 236); /* oklch */ color: oklch(73.5% 0.162 317.1);
Tailwind
colors: {
custom: {
50: '#e1abf2',
500: '#d286ec',
950: '#000000',
},
}SCSS
$custom: #d286ec; $custom-light: #e1abf2; $custom-dark: #000000;
JSON
{
"hex": "#d286ec",
"rgb": {
"r": 210,
"g": 134,
"b": 236
},
"hsl": {
"h": 284.706,
"s": 72.857,
"l": 72.549
},
"oklch": {
"l": 0.73543,
"c": 0.16211,
"h": 317.1
},
"luminance": 0.36808
}Semantic roles & 50–950 ramp
primary
#D286EC
secondary
#DFF3D8
accent
#D51143
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85