#D162E3#D162E3
#D162E3 is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 67.9% C 0.209 H 321.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D162E3 |
|---|---|
| RGB | rgb(209, 98, 227) |
| HSL | hsl(292, 70%, 64%) |
| HSV | hsv(292, 57%, 89%) |
| CMYK | cmyk(7.9%, 56.8%, 0%, 11%) |
| CIE-LAB | lab(59.74, 61.85, -46.58) |
| CIE-LCH | lch(59.74, 77.42, 323.02°) |
| OKLab | oklab(67.91% 0.1648 -0.1293) |
| OKLCH | oklch(67.91% 0.209 321.9) |
| XYZ | xyz(44.5258, 27.8389, 75.6862) |
| Luminance | 0.2784 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.65
Bright Lilac
#C95EFB
ΔE00 4.45
Pinkish Purple
#D648D7
ΔE00 4.62
Orchid
#DA70D6
ΔE00 4.87
Bright Lavender
#C760FF
ΔE00 5.12
Mediumorchid
#BA55D3
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D162E3 #74E362
analogous
#9062E3 #D162E3 #E362B4
triadic
#D162E3 #E3D162 #62E3D1
tetradic
#D162E3 #E39062 #74E362 #62B4E3
square
#D162E3 #E39062 #74E362 #62B4E3
split-complementary
#D162E3 #B4E362 #62E390
monochromatic
#981FAC #C22EDA #D162E3 #E096EC #EFCAF6
Accessibility & contrast
On white
3.20
#D162E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#D162E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D162E3
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D162E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D162E3 | 1.00 | 3.20 | 6.57 | 6.57 |
| #FFFFFF | 3.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A88E7
Deuteranopia (green-blind)
#7194E0
Tritanopia (blue-blind)
#D3759A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #d162e3; /* rgb */ color: rgb(209, 98, 227); /* oklch */ color: oklch(67.9% 0.209 321.9);
Tailwind
colors: {
custom: {
50: '#e294ec',
500: '#d162e3',
950: '#000000',
},
}SCSS
$custom: #d162e3; $custom-light: #e294ec; $custom-dark: #000000;
JSON
{
"hex": "#d162e3",
"rgb": {
"r": 209,
"g": 98,
"b": 227
},
"hsl": {
"h": 291.628,
"s": 69.73,
"l": 63.725
},
"oklch": {
"l": 0.67912,
"c": 0.20943,
"h": 321.9
},
"luminance": 0.27837
}Semantic roles & 50–950 ramp
primary
#D162E3
secondary
#C0E7BA
accent
#D2142E
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84