#D167DC#D167DC
#D167DC is a light, vivid purple. Relative luminance 0.284; OKLCH L 68.2% C 0.196 H 323.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #D167DC |
|---|---|
| RGB | rgb(209, 103, 220) |
| HSL | hsl(294, 63%, 63%) |
| HSV | hsv(294, 53%, 86%) |
| CMYK | cmyk(5%, 53.2%, 0%, 13.7%) |
| CIE-LAB | lab(60.27, 58.22, -41.82) |
| CIE-LCH | lch(60.27, 71.68, 324.31°) |
| OKLab | oklab(68.19% 0.1577 -0.1156) |
| OKLCH | oklch(68.19% 0.196 323.8) |
| XYZ | xyz(44.0618, 28.4253, 70.8620) |
| Luminance | 0.2842 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.41
Heliotrope
#D94FF5
ΔE00 5.17
Pinkish Purple
#D648D7
ΔE00 5.23
Orchid (survey)
#C875C4
ΔE00 5.55
Purpleish Pink
#DF4EC8
ΔE00 5.67
Bright Lilac
#C95EFB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D167DC #72DC67
analogous
#9667DC #D167DC #DC67AC
triadic
#D167DC #DCD167 #67DCD1
tetradic
#D167DC #DC9667 #72DC67 #67ACDC
square
#D167DC #DC9667 #72DC67 #67ACDC
split-complementary
#D167DC #ACDC67 #67DC96
monochromatic
#9726A3 #C235D1 #D167DC #E099E7 #EFCAF3
Accessibility & contrast
On white
3.14
#D167DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#D167DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D167DC
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D167DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D167DC | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5689E0
Deuteranopia (green-blind)
#7896D9
Tritanopia (blue-blind)
#D57698
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #d167dc; /* rgb */ color: rgb(209, 103, 220); /* oklch */ color: oklch(68.2% 0.196 323.8);
Tailwind
colors: {
custom: {
50: '#e297e7',
500: '#d167dc',
950: '#000000',
},
}SCSS
$custom: #d167dc; $custom-light: #e297e7; $custom-dark: #000000;
JSON
{
"hex": "#d167dc",
"rgb": {
"r": 209,
"g": 103,
"b": 220
},
"hsl": {
"h": 294.359,
"s": 62.567,
"l": 63.333
},
"oklch": {
"l": 0.68188,
"c": 0.19552,
"h": 323.8
},
"luminance": 0.28423
}Semantic roles & 50–950 ramp
primary
#D167DC
secondary
#BEE4BB
accent
#CA1B2C
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84