#D162DE#D162DE
#D162DE is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 67.7% C 0.205 H 323.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #D162DE |
|---|---|
| RGB | rgb(209, 98, 222) |
| HSL | hsl(294, 65%, 63%) |
| HSV | hsv(294, 56%, 87%) |
| CMYK | cmyk(5.9%, 55.9%, 0%, 12.9%) |
| CIE-LAB | lab(59.50, 60.93, -44.16) |
| CIE-LCH | lch(59.50, 75.25, 324.06°) |
| OKLab | oklab(67.65% 0.1644 -0.1223) |
| OKLCH | oklch(67.65% 0.205 323.3) |
| XYZ | xyz(43.8457, 27.5668, 72.1045) |
| Luminance | 0.2757 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 4.23
Pinkish Purple
#D648D7
ΔE00 4.34
Orchid
#DA70D6
ΔE00 4.38
Bright Lilac
#C95EFB
ΔE00 5.23
Purpleish Pink
#DF4EC8
ΔE00 5.44
Mediumorchid
#BA55D3
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D162DE #6FDE62
analogous
#9362DE #D162DE #DE62AD
triadic
#D162DE #DED162 #62DED1
tetradic
#D162DE #DE9362 #6FDE62 #62ADDE
square
#D162DE #DE9362 #6FDE62 #62ADDE
split-complementary
#D162DE #ADDE62 #62DE93
monochromatic
#9622A3 #C22FD3 #D162DE #E095E9 #EFC7F3
Accessibility & contrast
On white
3.22
#D162DE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.51
#D162DE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D162DE
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D162DE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D162DE | 1.00 | 3.22 | 6.51 | 6.51 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E87E2
Deuteranopia (green-blind)
#7394DB
Tritanopia (blue-blind)
#D47397
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #d162de; /* rgb */ color: rgb(209, 98, 222); /* oklch */ color: oklch(67.7% 0.205 323.3);
Tailwind
colors: {
custom: {
50: '#e294e9',
500: '#d162de',
950: '#000000',
},
}SCSS
$custom: #d162de; $custom-light: #e294e9; $custom-dark: #000000;
JSON
{
"hex": "#d162de",
"rgb": {
"r": 209,
"g": 98,
"b": 222
},
"hsl": {
"h": 293.71,
"s": 65.263,
"l": 62.745
},
"oklch": {
"l": 0.67651,
"c": 0.20488,
"h": 323.3
},
"luminance": 0.27565
}Semantic roles & 50–950 ramp
primary
#D162DE
secondary
#BCE4B7
accent
#CD182B
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84