#D18CDC#D18CDC
#D18CDC is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.7% C 0.134 H 321.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #D18CDC |
|---|---|
| RGB | rgb(209, 140, 220) |
| HSL | hsl(292, 53%, 71%) |
| HSV | hsv(292, 36%, 86%) |
| CMYK | cmyk(5%, 36.4%, 0%, 13.7%) |
| CIE-LAB | lab(67.64, 39.30, -30.34) |
| CIE-LCH | lch(67.64, 49.65, 322.33°) |
| OKLab | oklab(73.68% 0.1057 -0.083) |
| OKLCH | oklch(73.68% 0.134 321.9) |
| XYZ | xyz(48.5893, 37.4804, 72.3712) |
| Luminance | 0.3748 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 3.19
Pale Purple
#B790D4
ΔE00 5.57
Violet (CSS)
#EE82EE
ΔE00 5.57
Plum
#DDA0DD
ΔE00 5.85
Orchid (survey)
#C875C4
ΔE00 6.35
Orchid
#DA70D6
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D18CDC #97DC8C
analogous
#A98CDC #D18CDC #DC8CBF
triadic
#D18CDC #DCD18C #8CDCD1
tetradic
#D18CDC #DCA98C #97DC8C #8CBFDC
square
#D18CDC #DCA98C #97DC8C #8CBFDC
split-complementary
#D18CDC #BFDC8C #8CDCA9
monochromatic
#A537B6 #BE5DCE #D18CDC #E4BBEA #F6E8F8
Accessibility & contrast
On white
2.47
#D18CDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#D18CDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D18CDC
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D18CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D18CDC | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A0DF
Deuteranopia (green-blind)
#94A7D9
Tritanopia (blue-blind)
#D395AA
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d18cdc; /* rgb */ color: rgb(209, 140, 220); /* oklch */ color: oklch(73.7% 0.134 321.9);
Tailwind
colors: {
custom: {
50: '#e0afe7',
500: '#d18cdc',
950: '#000000',
},
}SCSS
$custom: #d18cdc; $custom-light: #e0afe7; $custom-dark: #000000;
JSON
{
"hex": "#d18cdc",
"rgb": {
"r": 209,
"g": 140,
"b": 220
},
"hsl": {
"h": 291.75,
"s": 53.333,
"l": 70.588
},
"oklch": {
"l": 0.73678,
"c": 0.13436,
"h": 321.9
},
"luminance": 0.37479
}Semantic roles & 50–950 ramp
primary
#D18CDC
secondary
#DAEDD7
accent
#C1253A
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84