#D862E4#D862E4
#D862E4 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 68.8% C 0.214 H 323.9°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #D862E4 |
|---|---|
| RGB | rgb(216, 98, 228) |
| HSL | hsl(294, 71%, 64%) |
| HSV | hsv(294, 57%, 89%) |
| CMYK | cmyk(5.3%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(60.73, 63.79, -45.52) |
| CIE-LCH | lch(60.73, 78.37, 324.49°) |
| OKLab | oklab(68.84% 0.1727 -0.1261) |
| OKLCH | oklch(68.84% 0.214 323.9) |
| XYZ | xyz(46.6889, 28.9382, 76.5101) |
| Luminance | 0.2894 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.96
Orchid
#DA70D6
ΔE00 4.14
Pinkish Purple
#D648D7
ΔE00 4.87
Bright Lilac
#C95EFB
ΔE00 5.22
Light Magenta
#FA5FF7
ΔE00 5.44
Purpleish Pink
#DF4EC8
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D862E4 #6EE462
analogous
#9762E4 #D862E4 #E462AF
triadic
#D862E4 #E4D862 #62E4D8
tetradic
#D862E4 #E49762 #6EE462 #62AFE4
square
#D862E4 #E49762 #6EE462 #62AFE4
split-complementary
#D862E4 #AFE462 #62E497
monochromatic
#A01EAE #CB2EDB #D862E4 #E596ED #F2CAF6
Accessibility & contrast
On white
3.09
#D862E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#D862E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D862E4
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D862E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D862E4 | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D89E8
Deuteranopia (green-blind)
#7697E0
Tritanopia (blue-blind)
#DC749A
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d862e4; /* rgb */ color: rgb(216, 98, 228); /* oklch */ color: oklch(68.8% 0.214 323.9);
Tailwind
colors: {
custom: {
50: '#e795ed',
500: '#d862e4',
950: '#000000',
},
}SCSS
$custom: #d862e4; $custom-light: #e795ed; $custom-dark: #000000;
JSON
{
"hex": "#d862e4",
"rgb": {
"r": 216,
"g": 98,
"b": 228
},
"hsl": {
"h": 294.462,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.68841,
"c": 0.21386,
"h": 323.9
},
"luminance": 0.28936
}Semantic roles & 50–950 ramp
primary
#D862E4
secondary
#BEE8BA
accent
#D31325
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84