#D862E1#D862E1
#D862E1 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.7% C 0.211 H 324.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #D862E1 |
|---|---|
| RGB | rgb(216, 98, 225) |
| HSL | hsl(296, 68%, 63%) |
| HSV | hsv(296, 56%, 88%) |
| CMYK | cmyk(4%, 56.4%, 0%, 11.8%) |
| CIE-LAB | lab(60.58, 63.26, -44.07) |
| CIE-LCH | lch(60.58, 77.10, 325.14°) |
| OKLab | oklab(68.69% 0.1725 -0.1219) |
| OKLCH | oklch(68.69% 0.211 324.8) |
| XYZ | xyz(46.2761, 28.7731, 74.3358) |
| Luminance | 0.2877 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.81
Heliotrope
#D94FF5
ΔE00 4.30
Pinkish Purple
#D648D7
ΔE00 4.73
Purpleish Pink
#DF4EC8
ΔE00 5.31
Light Magenta
#FA5FF7
ΔE00 5.53
Bright Lilac
#C95EFB
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D862E1 #6BE162
analogous
#9862E1 #D862E1 #E162AA
triadic
#D862E1 #E1D862 #62E1D8
tetradic
#D862E1 #E19862 #6BE162 #62AAE1
square
#D862E1 #E19862 #6BE162 #62AAE1
split-complementary
#D862E1 #AAE162 #62E198
monochromatic
#9F20A8 #CB2FD7 #D862E1 #E595EB #F2C9F5
Accessibility & contrast
On white
3.11
#D862E1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#D862E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D862E1
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D862E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D862E1 | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F89E5
Deuteranopia (green-blind)
#7797DD
Tritanopia (blue-blind)
#DC7399
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d862e1; /* rgb */ color: rgb(216, 98, 225); /* oklch */ color: oklch(68.7% 0.211 324.8);
Tailwind
colors: {
custom: {
50: '#e794eb',
500: '#d862e1',
950: '#000000',
},
}SCSS
$custom: #d862e1; $custom-light: #e794eb; $custom-dark: #000000;
JSON
{
"hex": "#d862e1",
"rgb": {
"r": 216,
"g": 98,
"b": 225
},
"hsl": {
"h": 295.748,
"s": 67.914,
"l": 63.333
},
"oklch": {
"l": 0.68686,
"c": 0.21121,
"h": 324.8
},
"luminance": 0.28771
}Semantic roles & 50–950 ramp
primary
#D862E1
secondary
#BCE6B9
accent
#D01623
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84