#D862F0#D862F0
#D862F0 is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.5% C 0.225 H 320.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D862F0 |
|---|---|
| RGB | rgb(216, 98, 240) |
| HSL | hsl(290, 83%, 66%) |
| HSV | hsv(290, 59%, 94%) |
| CMYK | cmyk(10%, 59.2%, 0%, 5.9%) |
| CIE-LAB | lab(61.33, 65.98, -51.25) |
| CIE-LCH | lch(61.33, 83.55, 322.16°) |
| OKLab | oklab(69.48% 0.1735 -0.1427) |
| OKLCH | oklch(69.48% 0.225 320.6) |
| XYZ | xyz(48.4129, 29.6278, 85.5898) |
| Luminance | 0.2963 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.07
Bright Lilac
#C95EFB
ΔE00 3.76
Bright Lavender
#C760FF
ΔE00 4.32
Light Magenta
#FA5FF7
ΔE00 5.43
Violet Pink
#FB5FFC
ΔE00 5.49
Orchid
#DA70D6
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D862F0 #7AF062
analogous
#9162F0 #D862F0 #F062C1
triadic
#D862F0 #F0D862 #62F0D8
tetradic
#D862F0 #F09162 #7AF062 #62C1F0
square
#D862F0 #F09162 #7AF062 #62C1F0
split-complementary
#D862F0 #C1F062 #62F091
monochromatic
#A713C5 #CA2AEB #D862F0 #E69AF5 #F4D2FB
Accessibility & contrast
On white
3.03
#D862F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#D862F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D862F0
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D862F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D862F0 | 1.00 | 3.03 | 6.93 | 6.93 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#428CF4
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#D978A0
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #d862f0; /* rgb */ color: rgb(216, 98, 240); /* oklch */ color: oklch(69.5% 0.225 320.6);
Tailwind
colors: {
custom: {
50: '#e795f5',
500: '#d862f0',
950: '#000000',
},
}SCSS
$custom: #d862f0; $custom-light: #e795f5; $custom-dark: #000000;
JSON
{
"hex": "#d862f0",
"rgb": {
"r": 216,
"g": 98,
"b": 240
},
"hsl": {
"h": 289.859,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.69478,
"c": 0.22463,
"h": 320.6
},
"luminance": 0.29626
}Semantic roles & 50–950 ramp
primary
#D862F0
secondary
#C8EEC0
accent
#DF072B
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85