#D864E4#D864E4
#D864E4 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.1% C 0.211 H 323.8°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D864E4 |
|---|---|
| RGB | rgb(216, 100, 228) |
| HSL | hsl(294, 70%, 64%) |
| HSV | hsv(294, 56%, 89%) |
| CMYK | cmyk(5.3%, 56.1%, 0%, 10.6%) |
| CIE-LAB | lab(61.06, 62.89, -44.99) |
| CIE-LCH | lch(61.06, 77.33, 324.42°) |
| OKLab | oklab(69.08% 0.1703 -0.1246) |
| OKLCH | oklch(69.08% 0.211 323.8) |
| XYZ | xyz(46.8784, 29.3172, 76.5733) |
| Luminance | 0.2932 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.86
Heliotrope
#D94FF5
ΔE00 4.26
Pinkish Purple
#D648D7
ΔE00 5.21
Light Magenta
#FA5FF7
ΔE00 5.33
Bright Lilac
#C95EFB
ΔE00 5.37
Violet Pink
#FB5FFC
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D864E4 #70E464
analogous
#9864E4 #D864E4 #E464B0
triadic
#D864E4 #E4D864 #64E4D8
tetradic
#D864E4 #E49864 #70E464 #64B0E4
square
#D864E4 #E49864 #70E464 #64B0E4
split-complementary
#D864E4 #B0E464 #64E498
monochromatic
#A21FAF #CB30DB #D864E4 #E598ED #F2CCF6
Accessibility & contrast
On white
3.06
#D864E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#D864E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D864E4
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D864E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D864E4 | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#508AE8
Deuteranopia (green-blind)
#7798E0
Tritanopia (blue-blind)
#DC759B
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d864e4; /* rgb */ color: rgb(216, 100, 228); /* oklch */ color: oklch(69.1% 0.211 323.8);
Tailwind
colors: {
custom: {
50: '#e796ed',
500: '#d864e4',
950: '#000000',
},
}SCSS
$custom: #d864e4; $custom-light: #e796ed; $custom-dark: #000000;
JSON
{
"hex": "#d864e4",
"rgb": {
"r": 216,
"g": 100,
"b": 228
},
"hsl": {
"h": 294.375,
"s": 70.33,
"l": 64.314
},
"oklch": {
"l": 0.69084,
"c": 0.21096,
"h": 323.8
},
"luminance": 0.29315
}Semantic roles & 50–950 ramp
primary
#D864E4
secondary
#C0E8BC
accent
#D21325
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84