#D168CD#D168CD
#D168CD is a light, vivid purple. Relative luminance 0.279; OKLCH L 67.6% C 0.180 H 328.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D168CD |
|---|---|
| RGB | rgb(209, 104, 205) |
| HSL | hsl(302, 53%, 61%) |
| HSV | hsv(302, 50%, 82%) |
| CMYK | cmyk(0%, 50.2%, 1.9%, 18%) |
| CIE-LAB | lab(59.77, 55.05, -34.15) |
| CIE-LCH | lch(59.77, 64.78, 328.19°) |
| OKLab | oklab(67.59% 0.1543 -0.0935) |
| OKLCH | oklch(67.59% 0.18 328.8) |
| XYZ | xyz(42.2637, 27.8662, 60.8984) |
| Luminance | 0.2786 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 2.62
Orchid (survey)
#C875C4
ΔE00 3.60
Purpleish Pink
#DF4EC8
ΔE00 4.56
Pinkish Purple
#D648D7
ΔE00 5.83
Purplish Pink
#CE5DAE
ΔE00 5.95
Pinky Purple
#C94CBE
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D168CD #68D16C
analogous
#A168D1 #D168CD #D16899
triadic
#D168CD #CDD168 #68CDD1
tetradic
#D168CD #D1A168 #68D16C #6899D1
square
#D168CD #D1A168 #68D16C #6899D1
split-complementary
#D168CD #99D168 #68D1A1
monochromatic
#922D8E #C13BBC #D168CD #DF97DD #EEC6EC
Accessibility & contrast
On white
3.19
#D168CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.57
#D168CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D168CD
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D168CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D168CD | 1.00 | 3.19 | 6.57 | 6.57 |
| #FFFFFF | 3.19 | 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)
#6087D0
Deuteranopia (green-blind)
#8095CA
Tritanopia (blue-blind)
#D77291
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #d168cd; /* rgb */ color: rgb(209, 104, 205); /* oklch */ color: oklch(67.6% 0.180 328.8);
Tailwind
colors: {
custom: {
50: '#e197dc',
500: '#d168cd',
950: '#000000',
},
}SCSS
$custom: #d168cd; $custom-light: #e197dc; $custom-dark: #000000;
JSON
{
"hex": "#d168cd",
"rgb": {
"r": 209,
"g": 104,
"b": 205
},
"hsl": {
"h": 302.286,
"s": 53.299,
"l": 61.373
},
"oklch": {
"l": 0.67594,
"c": 0.18046,
"h": 328.8
},
"luminance": 0.27864
}Semantic roles & 50–950 ramp
primary
#D168CD
secondary
#B7DEB8
accent
#C12B25
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83