#D862F6#D862F6
#D862F6 is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.8% C 0.230 H 319.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #D862F6 |
|---|---|
| RGB | rgb(216, 98, 246) |
| HSL | hsl(288, 89%, 67%) |
| HSV | hsv(288, 60%, 96%) |
| CMYK | cmyk(12.2%, 60.2%, 0%, 3.5%) |
| CIE-LAB | lab(61.65, 67.11, -54.08) |
| CIE-LCH | lch(61.65, 86.18, 321.14°) |
| OKLab | oklab(69.81% 0.1737 -0.1509) |
| OKLCH | oklch(69.81% 0.23 319) |
| XYZ | xyz(49.3190, 29.9902, 90.3617) |
| Luminance | 0.2999 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.01
Bright Lilac
#C95EFB
ΔE00 3.23
Bright Lavender
#C760FF
ΔE00 3.70
Easter Purple
#C071FE
ΔE00 5.08
Light Purple
#BF77F6
ΔE00 5.51
Violet Pink
#FB5FFC
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D862F6 #80F662
analogous
#8E62F6 #D862F6 #F662CA
triadic
#D862F6 #F6D862 #62F6D8
tetradic
#D862F6 #F68E62 #80F662 #62CAF6
square
#D862F6 #F68E62 #80F662 #62CAF6
split-complementary
#D862F6 #CAF662 #62F68E
monochromatic
#AA0CD2 #CA28F3 #D862F6 #E69CF9 #F5D6FD
Accessibility & contrast
On white
3.00
#D862F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.00
#D862F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D862F6
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D862F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D862F6 | 1.00 | 3.00 | 7.00 | 7.00 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8DFB
Deuteranopia (green-blind)
#6B99F2
Tritanopia (blue-blind)
#D87AA3
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #d862f6; /* rgb */ color: rgb(216, 98, 246); /* oklch */ color: oklch(69.8% 0.230 319.0);
Tailwind
colors: {
custom: {
50: '#e795fa',
500: '#d862f6',
950: '#000000',
},
}SCSS
$custom: #d862f6; $custom-light: #e795fa; $custom-dark: #000000;
JSON
{
"hex": "#d862f6",
"rgb": {
"r": 216,
"g": 98,
"b": 246
},
"hsl": {
"h": 287.838,
"s": 89.157,
"l": 67.451
},
"oklch": {
"l": 0.69808,
"c": 0.2301,
"h": 319
},
"luminance": 0.29988
}Semantic roles & 50–950 ramp
primary
#D862F6
secondary
#CCF1C3
accent
#E6002F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85