#D162CD#D162CD
#D162CD is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.8% C 0.190 H 328.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #D162CD |
|---|---|
| RGB | rgb(209, 98, 205) |
| HSL | hsl(302, 55%, 60%) |
| HSV | hsv(302, 53%, 82%) |
| CMYK | cmyk(0%, 53.1%, 1.9%, 18%) |
| CIE-LAB | lab(58.70, 57.90, -35.82) |
| CIE-LCH | lch(58.70, 68.09, 328.26°) |
| OKLab | oklab(66.8% 0.1624 -0.0983) |
| OKLCH | oklch(66.8% 0.19 328.8) |
| XYZ | xyz(41.6811, 26.7010, 60.7042) |
| Luminance | 0.2670 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpleish Pink
#DF4EC8
ΔE00 3.64
Orchid
#DA70D6
ΔE00 3.65
Pinkish Purple
#D648D7
ΔE00 4.62
Orchid (survey)
#C875C4
ΔE00 4.68
Pinky Purple
#C94CBE
ΔE00 5.28
Purplish Pink
#CE5DAE
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D162CD #62D166
analogous
#9D62D1 #D162CD #D16296
triadic
#D162CD #CDD162 #62CDD1
tetradic
#D162CD #D19D62 #62D166 #6296D1
square
#D162CD #D19D62 #62D166 #6296D1
split-complementary
#D162CD #96D162 #62D19D
monochromatic
#8F2A8B #BE38B9 #D162CD #DF91DC #EDC1EB
Accessibility & contrast
On white
3.31
#D162CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#D162CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D162CD
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D162CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D162CD | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5984D0
Deuteranopia (green-blind)
#7C93CA
Tritanopia (blue-blind)
#D76D8F
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #d162cd; /* rgb */ color: rgb(209, 98, 205); /* oklch */ color: oklch(66.8% 0.190 328.8);
Tailwind
colors: {
custom: {
50: '#e294dc',
500: '#d162cd',
950: '#000000',
},
}SCSS
$custom: #d162cd; $custom-light: #e294dc; $custom-dark: #000000;
JSON
{
"hex": "#d162cd",
"rgb": {
"r": 209,
"g": 98,
"b": 205
},
"hsl": {
"h": 302.162,
"s": 54.68,
"l": 60.196
},
"oklch": {
"l": 0.66804,
"c": 0.18984,
"h": 328.8
},
"luminance": 0.26698
}Semantic roles & 50–950 ramp
primary
#D162CD
secondary
#B2DDB4
accent
#C22923
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160D15
muted
#847E83