#D962F1#D962F1
#D962F1 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.7% C 0.226 H 320.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #D962F1 |
|---|---|
| RGB | rgb(217, 98, 241) |
| HSL | hsl(290, 84%, 66%) |
| HSV | hsv(290, 59%, 95%) |
| CMYK | cmyk(10%, 59.3%, 0%, 5.5%) |
| CIE-LAB | lab(61.52, 66.41, -51.50) |
| CIE-LCH | lch(61.52, 84.04, 322.21°) |
| OKLab | oklab(69.66% 0.1747 -0.1434) |
| OKLCH | oklch(69.66% 0.226 320.6) |
| XYZ | xyz(48.8583, 29.8402, 86.3882) |
| Luminance | 0.2984 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.11
Bright Lilac
#C95EFB
ΔE00 3.82
Bright Lavender
#C760FF
ΔE00 4.36
Light Magenta
#FA5FF7
ΔE00 5.28
Violet Pink
#FB5FFC
ΔE00 5.33
Orchid
#DA70D6
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D962F1 #7AF162
analogous
#9262F1 #D962F1 #F162C2
triadic
#D962F1 #F1D962 #62F1D9
tetradic
#D962F1 #F19262 #7AF162 #62C2F1
square
#D962F1 #F19262 #7AF162 #62C2F1
split-complementary
#D962F1 #C2F162 #62F192
monochromatic
#A812C7 #CB2AEC #D962F1 #E79AF6 #F4D2FB
Accessibility & contrast
On white
3.01
#D962F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#D962F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D962F1
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D962F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D962F1 | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#428CF5
Deuteranopia (green-blind)
#6F99ED
Tritanopia (blue-blind)
#DA78A1
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #d962f1; /* rgb */ color: rgb(217, 98, 241); /* oklch */ color: oklch(69.7% 0.226 320.6);
Tailwind
colors: {
custom: {
50: '#e895f6',
500: '#d962f1',
950: '#000000',
},
}SCSS
$custom: #d962f1; $custom-light: #e895f6; $custom-dark: #000000;
JSON
{
"hex": "#d962f1",
"rgb": {
"r": 217,
"g": 98,
"b": 241
},
"hsl": {
"h": 289.93,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.69656,
"c": 0.22599,
"h": 320.6
},
"luminance": 0.29838
}Semantic roles & 50–950 ramp
primary
#D962F1
secondary
#C8EFC0
accent
#E0052A
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85