#D962F0#D962F0
#D962F0 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 69.6% C 0.225 H 320.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #D962F0 |
|---|---|
| RGB | rgb(217, 98, 240) |
| HSL | hsl(290, 83%, 66%) |
| HSV | hsv(290, 59%, 94%) |
| CMYK | cmyk(9.6%, 59.2%, 0%, 5.9%) |
| CIE-LAB | lab(61.46, 66.23, -51.03) |
| CIE-LCH | lch(61.46, 83.61, 322.38°) |
| OKLab | oklab(69.6% 0.1746 -0.142) |
| OKLCH | oklch(69.6% 0.225 320.9) |
| XYZ | xyz(48.7093, 29.7806, 85.6037) |
| Luminance | 0.2978 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.14
Bright Lilac
#C95EFB
ΔE00 3.92
Bright Lavender
#C760FF
ΔE00 4.47
Light Magenta
#FA5FF7
ΔE00 5.26
Violet Pink
#FB5FFC
ΔE00 5.32
Orchid
#DA70D6
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D962F0 #79F062
analogous
#9262F0 #D962F0 #F062C0
triadic
#D962F0 #F0D962 #62F0D9
tetradic
#D962F0 #F09262 #79F062 #62C0F0
square
#D962F0 #F09262 #79F062 #62C0F0
split-complementary
#D962F0 #C0F062 #62F092
monochromatic
#A813C5 #CB2AEB #D962F0 #E79AF5 #F4D2FB
Accessibility & contrast
On white
3.02
#D962F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#D962F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D962F0
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D962F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D962F0 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#438CF4
Deuteranopia (green-blind)
#7099EC
Tritanopia (blue-blind)
#DB78A0
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #d962f0; /* rgb */ color: rgb(217, 98, 240); /* oklch */ color: oklch(69.6% 0.225 320.9);
Tailwind
colors: {
custom: {
50: '#e895f5',
500: '#d962f0',
950: '#000000',
},
}SCSS
$custom: #d962f0; $custom-light: #e895f5; $custom-dark: #000000;
JSON
{
"hex": "#d962f0",
"rgb": {
"r": 217,
"g": 98,
"b": 240
},
"hsl": {
"h": 290.282,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.69602,
"c": 0.22509,
"h": 320.9
},
"luminance": 0.29778
}Semantic roles & 50–950 ramp
primary
#D962F0
secondary
#C7EEC0
accent
#DF072A
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85