#D862F5#D862F5
#D862F5 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.8% C 0.229 H 319.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #D862F5 |
|---|---|
| RGB | rgb(216, 98, 245) |
| HSL | hsl(288, 88%, 67%) |
| HSV | hsv(288, 60%, 96%) |
| CMYK | cmyk(11.8%, 60%, 0%, 3.9%) |
| CIE-LAB | lab(61.59, 66.92, -53.61) |
| CIE-LCH | lch(61.59, 85.74, 321.30°) |
| OKLab | oklab(69.75% 0.1736 -0.1496) |
| OKLCH | oklch(69.75% 0.229 319.3) |
| XYZ | xyz(49.1659, 29.9290, 89.5556) |
| Luminance | 0.2993 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.00
Bright Lilac
#C95EFB
ΔE00 3.30
Bright Lavender
#C760FF
ΔE00 3.79
Easter Purple
#C071FE
ΔE00 5.16
Light Purple
#BF77F6
ΔE00 5.56
Violet Pink
#FB5FFC
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D862F5 #7FF562
analogous
#8E62F5 #D862F5 #F562C9
triadic
#D862F5 #F5D862 #62F5D8
tetradic
#D862F5 #F58E62 #7FF562 #62C9F5
square
#D862F5 #F58E62 #7FF562 #62C9F5
split-complementary
#D862F5 #C9F562 #62F58E
monochromatic
#A90DCF #CA28F1 #D862F5 #E69CF9 #F5D5FC
Accessibility & contrast
On white
3.01
#D862F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.99
#D862F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D862F5
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D862F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D862F5 | 1.00 | 3.01 | 6.99 | 6.99 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8DFA
Deuteranopia (green-blind)
#6C99F1
Tritanopia (blue-blind)
#D87AA3
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #d862f5; /* rgb */ color: rgb(216, 98, 245); /* oklch */ color: oklch(69.8% 0.229 319.3);
Tailwind
colors: {
custom: {
50: '#e795f9',
500: '#d862f5',
950: '#000000',
},
}SCSS
$custom: #d862f5; $custom-light: #e795f9; $custom-dark: #000000;
JSON
{
"hex": "#d862f5",
"rgb": {
"r": 216,
"g": 98,
"b": 245
},
"hsl": {
"h": 288.163,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.69752,
"c": 0.22918,
"h": 319.3
},
"luminance": 0.29927
}Semantic roles & 50–950 ramp
primary
#D862F5
secondary
#CBF1C2
accent
#E5012E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85