#D162F6#D162F6
#D162F6 is a light, highly saturated purple. Relative luminance 0.289; OKLCH L 69.0% C 0.227 H 316.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #D162F6 |
|---|---|
| RGB | rgb(209, 98, 246) |
| HSL | hsl(285, 89%, 67%) |
| HSV | hsv(285, 60%, 96%) |
| CMYK | cmyk(15%, 60.2%, 0%, 3.5%) |
| CIE-LAB | lab(60.73, 65.46, -55.58) |
| CIE-LCH | lch(60.73, 85.87, 319.67°) |
| OKLab | oklab(68.96% 0.1656 -0.1555) |
| OKLCH | oklch(68.96% 0.227 316.8) |
| XYZ | xyz(47.2943, 28.9463, 90.2668) |
| Luminance | 0.2894 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.06
Bright Lavender
#C760FF
ΔE00 2.57
Heliotrope
#D94FF5
ΔE00 2.91
Easter Purple
#C071FE
ΔE00 4.24
Light Purple
#BF77F6
ΔE00 4.87
Light Urple
#B36FF6
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D162F6 #87F662
analogous
#8762F6 #D162F6 #F662D1
triadic
#D162F6 #F6D162 #62F6D1
tetradic
#D162F6 #F68762 #87F662 #62D1F6
square
#D162F6 #F68762 #87F662 #62D1F6
split-complementary
#D162F6 #D1F662 #62F687
monochromatic
#A00CD2 #C028F3 #D162F6 #E29CF9 #F3D6FD
Accessibility & contrast
On white
3.09
#D162F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#D162F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D162F6
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D162F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D162F6 | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#368CFB
Deuteranopia (green-blind)
#6596F2
Tritanopia (blue-blind)
#CF7BA3
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #d162f6; /* rgb */ color: rgb(209, 98, 246); /* oklch */ color: oklch(69.0% 0.227 316.8);
Tailwind
colors: {
custom: {
50: '#e294fa',
500: '#d162f6',
950: '#000000',
},
}SCSS
$custom: #d162f6; $custom-light: #e294fa; $custom-dark: #000000;
JSON
{
"hex": "#d162f6",
"rgb": {
"r": 209,
"g": 98,
"b": 246
},
"hsl": {
"h": 285,
"s": 89.157,
"l": 67.451
},
"oklch": {
"l": 0.68955,
"c": 0.22714,
"h": 316.8
},
"luminance": 0.28944
}Semantic roles & 50–950 ramp
primary
#D162F6
secondary
#CEF1C3
accent
#E60039
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85