#D962F5#D962F5
#D962F5 is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 69.9% C 0.230 H 319.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #D962F5 |
|---|---|
| RGB | rgb(217, 98, 245) |
| HSL | hsl(289, 88%, 67%) |
| HSV | hsv(289, 60%, 96%) |
| CMYK | cmyk(11.4%, 60%, 0%, 3.9%) |
| CIE-LAB | lab(61.72, 67.15, -53.39) |
| CIE-LCH | lch(61.72, 85.79, 321.51°) |
| OKLab | oklab(69.88% 0.1748 -0.1489) |
| OKLCH | oklch(69.88% 0.23 319.6) |
| XYZ | xyz(49.4623, 30.0818, 89.5695) |
| Luminance | 0.3008 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.06
Bright Lilac
#C95EFB
ΔE00 3.47
Bright Lavender
#C760FF
ΔE00 3.96
Easter Purple
#C071FE
ΔE00 5.29
Violet Pink
#FB5FFC
ΔE00 5.39
Light Magenta
#FA5FF7
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D962F5 #7EF562
analogous
#8F62F5 #D962F5 #F562C8
triadic
#D962F5 #F5D962 #62F5D9
tetradic
#D962F5 #F58F62 #7EF562 #62C8F5
square
#D962F5 #F58F62 #7EF562 #62C8F5
split-complementary
#D962F5 #C8F562 #62F58F
monochromatic
#AA0DCF #CB28F1 #D962F5 #E79CF9 #F5D5FC
Accessibility & contrast
On white
2.99
#D962F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#D962F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D962F5
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D962F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D962F5 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8DFA
Deuteranopia (green-blind)
#6D99F1
Tritanopia (blue-blind)
#DA7AA3
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #d962f5; /* rgb */ color: rgb(217, 98, 245); /* oklch */ color: oklch(69.9% 0.230 319.6);
Tailwind
colors: {
custom: {
50: '#e895f9',
500: '#d962f5',
950: '#000000',
},
}SCSS
$custom: #d962f5; $custom-light: #e895f9; $custom-dark: #000000;
JSON
{
"hex": "#d962f5",
"rgb": {
"r": 217,
"g": 98,
"b": 245
},
"hsl": {
"h": 288.571,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.69875,
"c": 0.22962,
"h": 319.6
},
"luminance": 0.3008
}Semantic roles & 50–950 ramp
primary
#D962F5
secondary
#CBF1C2
accent
#E5012C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85