#D162E6#D162E6
#D162E6 is a light, highly saturated purple. Relative luminance 0.280; OKLCH L 68.1% C 0.212 H 321.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #D162E6 |
|---|---|
| RGB | rgb(209, 98, 230) |
| HSL | hsl(290, 73%, 64%) |
| HSV | hsv(290, 57%, 90%) |
| CMYK | cmyk(9.1%, 57.4%, 0%, 9.8%) |
| CIE-LAB | lab(59.89, 62.41, -48.01) |
| CIE-LCH | lch(59.89, 78.74, 322.43°) |
| OKLab | oklab(68.07% 0.165 -0.1335) |
| OKLCH | oklch(68.07% 0.212 321) |
| XYZ | xyz(44.9435, 28.0059, 77.8859) |
| Luminance | 0.2800 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.37
Bright Lilac
#C95EFB
ΔE00 4.01
Bright Lavender
#C760FF
ΔE00 4.67
Pinkish Purple
#D648D7
ΔE00 4.85
Orchid
#DA70D6
ΔE00 5.20
Mediumorchid
#BA55D3
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D162E6 #77E662
analogous
#8F62E6 #D162E6 #E662B9
triadic
#D162E6 #E6D162 #62E6D1
tetradic
#D162E6 #E68F62 #77E662 #62B9E6
square
#D162E6 #E68F62 #77E662 #62B9E6
split-complementary
#D162E6 #B9E662 #62E68F
monochromatic
#9A1CB1 #C22DDE #D162E6 #E097EE #F0CCF7
Accessibility & contrast
On white
3.18
#D162E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#D162E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D162E6
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D162E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D162E6 | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4788EA
Deuteranopia (green-blind)
#6F94E3
Tritanopia (blue-blind)
#D3769B
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #d162e6; /* rgb */ color: rgb(209, 98, 230); /* oklch */ color: oklch(68.1% 0.212 321.0);
Tailwind
colors: {
custom: {
50: '#e294ee',
500: '#d162e6',
950: '#000000',
},
}SCSS
$custom: #d162e6; $custom-light: #e294ee; $custom-dark: #000000;
JSON
{
"hex": "#d162e6",
"rgb": {
"r": 209,
"g": 98,
"b": 230
},
"hsl": {
"h": 290.455,
"s": 72.527,
"l": 64.314
},
"oklch": {
"l": 0.68072,
"c": 0.21219,
"h": 321
},
"luminance": 0.28004
}Semantic roles & 50–950 ramp
primary
#D162E6
secondary
#C2E9BB
accent
#D51130
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84