#D162E5#D162E5
#D162E5 is a light, highly saturated purple. Relative luminance 0.279; OKLCH L 68.0% C 0.211 H 321.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #D162E5 |
|---|---|
| RGB | rgb(209, 98, 229) |
| HSL | hsl(291, 72%, 64%) |
| HSV | hsv(291, 57%, 90%) |
| CMYK | cmyk(8.7%, 57.2%, 0%, 10.2%) |
| CIE-LAB | lab(59.84, 62.22, -47.54) |
| CIE-LCH | lch(59.84, 78.30, 322.62°) |
| OKLab | oklab(68.02% 0.1649 -0.1321) |
| OKLCH | oklch(68.02% 0.211 321.3) |
| XYZ | xyz(44.8034, 27.9499, 77.1484) |
| Luminance | 0.2795 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 3.46
Bright Lilac
#C95EFB
ΔE00 4.16
Pinkish Purple
#D648D7
ΔE00 4.77
Bright Lavender
#C760FF
ΔE00 4.82
Orchid
#DA70D6
ΔE00 5.09
Mediumorchid
#BA55D3
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D162E5 #76E562
analogous
#9062E5 #D162E5 #E562B8
triadic
#D162E5 #E5D162 #62E5D1
tetradic
#D162E5 #E59062 #76E562 #62B8E5
square
#D162E5 #E59062 #76E562 #62B8E5
split-complementary
#D162E5 #B8E562 #62E590
monochromatic
#991DB0 #C22DDC #D162E5 #E097EE #F0CBF6
Accessibility & contrast
On white
3.19
#D162E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#D162E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D162E5
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D162E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D162E5 | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4888E9
Deuteranopia (green-blind)
#7094E2
Tritanopia (blue-blind)
#D3759B
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #d162e5; /* rgb */ color: rgb(209, 98, 229); /* oklch */ color: oklch(68.0% 0.211 321.3);
Tailwind
colors: {
custom: {
50: '#e294ee',
500: '#d162e5',
950: '#000000',
},
}SCSS
$custom: #d162e5; $custom-light: #e294ee; $custom-dark: #000000;
JSON
{
"hex": "#d162e5",
"rgb": {
"r": 209,
"g": 98,
"b": 229
},
"hsl": {
"h": 290.84,
"s": 71.585,
"l": 64.118
},
"oklch": {
"l": 0.68018,
"c": 0.21127,
"h": 321.3
},
"luminance": 0.27948
}Semantic roles & 50–950 ramp
primary
#D162E5
secondary
#C2E8BB
accent
#D4122F
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84