#D862E5#D862E5
#D862E5 is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 68.9% C 0.215 H 323.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #D862E5 |
|---|---|
| RGB | rgb(216, 98, 229) |
| HSL | hsl(294, 72%, 64%) |
| HSV | hsv(294, 57%, 90%) |
| CMYK | cmyk(5.7%, 57.2%, 0%, 10.2%) |
| CIE-LAB | lab(60.78, 63.97, -46.00) |
| CIE-LCH | lch(60.78, 78.79, 324.28°) |
| OKLab | oklab(68.89% 0.1728 -0.1275) |
| OKLCH | oklch(68.89% 0.215 323.6) |
| XYZ | xyz(46.8281, 28.9939, 77.2433) |
| Luminance | 0.2899 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.85
Orchid
#DA70D6
ΔE00 4.25
Pinkish Purple
#D648D7
ΔE00 4.93
Bright Lilac
#C95EFB
ΔE00 5.09
Light Magenta
#FA5FF7
ΔE00 5.41
Violet Pink
#FB5FFC
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D862E5 #6FE562
analogous
#9762E5 #D862E5 #E562B1
triadic
#D862E5 #E5D862 #62E5D8
tetradic
#D862E5 #E59762 #6FE562 #62B1E5
square
#D862E5 #E59762 #6FE562 #62B1E5
split-complementary
#D862E5 #B1E562 #62E597
monochromatic
#A11DB0 #CB2DDC #D862E5 #E597EE #F2CBF6
Accessibility & contrast
On white
3.09
#D862E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#D862E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D862E5
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D862E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D862E5 | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C8AE9
Deuteranopia (green-blind)
#7597E1
Tritanopia (blue-blind)
#DC749B
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d862e5; /* rgb */ color: rgb(216, 98, 229); /* oklch */ color: oklch(68.9% 0.215 323.6);
Tailwind
colors: {
custom: {
50: '#e795ee',
500: '#d862e5',
950: '#000000',
},
}SCSS
$custom: #d862e5; $custom-light: #e795ee; $custom-dark: #000000;
JSON
{
"hex": "#d862e5",
"rgb": {
"r": 216,
"g": 98,
"b": 229
},
"hsl": {
"h": 294.046,
"s": 71.585,
"l": 64.118
},
"oklch": {
"l": 0.68893,
"c": 0.21475,
"h": 323.6
},
"luminance": 0.28991
}Semantic roles & 50–950 ramp
primary
#D862E5
secondary
#BFE8BB
accent
#D41225
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84