#D162F9#D162F9
#D162F9 is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.1% C 0.230 H 316.1°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #D162F9 |
|---|---|
| RGB | rgb(209, 98, 249) |
| HSL | hsl(284, 93%, 68%) |
| HSV | hsv(284, 61%, 98%) |
| CMYK | cmyk(16.1%, 60.6%, 0%, 2.4%) |
| CIE-LAB | lab(60.90, 66.05, -56.98) |
| CIE-LCH | lch(60.90, 87.23, 319.21°) |
| OKLab | oklab(69.13% 0.1656 -0.1596) |
| OKLCH | oklch(69.13% 0.23 316.1) |
| XYZ | xyz(47.7584, 29.1319, 92.7114) |
| Luminance | 0.2913 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.86
Bright Lavender
#C760FF
ΔE00 2.27
Heliotrope
#D94FF5
ΔE00 3.04
Easter Purple
#C071FE
ΔE00 4.01
Light Purple
#BF77F6
ΔE00 4.77
Light Urple
#B36FF6
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D162F9 #8AF962
analogous
#8562F9 #D162F9 #F962D5
triadic
#D162F9 #F9D162 #62F9D1
tetradic
#D162F9 #F98562 #8AF962 #62D5F9
square
#D162F9 #F98562 #8AF962 #62D5F9
split-complementary
#D162F9 #D5F962 #62F985
monochromatic
#A108D8 #C027F7 #D162F9 #E29DFB #F4D8FE
Accessibility & contrast
On white
3.08
#D162F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#D162F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D162F9
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D162F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D162F9 | 1.00 | 3.08 | 6.83 | 6.83 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#328CFE
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#CF7DA5
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #d162f9; /* rgb */ color: rgb(209, 98, 249); /* oklch */ color: oklch(69.1% 0.230 316.1);
Tailwind
colors: {
custom: {
50: '#e294fc',
500: '#d162f9',
950: '#000000',
},
}SCSS
$custom: #d162f9; $custom-light: #e294fc; $custom-dark: #000000;
JSON
{
"hex": "#d162f9",
"rgb": {
"r": 209,
"g": 98,
"b": 249
},
"hsl": {
"h": 284.106,
"s": 92.638,
"l": 68.039
},
"oklch": {
"l": 0.69127,
"c": 0.22998,
"h": 316.1
},
"luminance": 0.2913
}Semantic roles & 50–950 ramp
primary
#D162F9
secondary
#D1F2C4
accent
#E6003D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85