#D18CD2#D18CD2
#D18CD2 is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.3% C 0.124 H 326.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #D18CD2 |
|---|---|
| RGB | rgb(209, 140, 210) |
| HSL | hsl(299, 44%, 69%) |
| HSV | hsv(299, 33%, 82%) |
| CMYK | cmyk(0.5%, 33.3%, 0%, 17.6%) |
| CIE-LAB | lab(67.25, 37.40, -25.38) |
| CIE-LCH | lch(67.25, 45.20, 325.83°) |
| OKLab | oklab(73.26% 0.1032 -0.0689) |
| OKLCH | oklch(73.26% 0.124 326.3) |
| XYZ | xyz(47.3044, 36.9664, 65.6037) |
| Luminance | 0.3696 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.88
Plum
#DDA0DD
ΔE00 5.14
Orchid (survey)
#C875C4
ΔE00 5.90
Pale Purple
#B790D4
ΔE00 6.16
Violet (CSS)
#EE82EE
ΔE00 6.56
Orchid
#DA70D6
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D18CD2 #8DD28C
analogous
#AE8CD2 #D18CD2 #D28CB0
triadic
#D18CD2 #D2D18C #8CD2D1
tetradic
#D18CD2 #D2AE8C #8DD28C #8CB0D2
square
#D18CD2 #D2AE8C #8DD28C #8CB0D2
split-complementary
#D18CD2 #B0D28C #8CD2AE
monochromatic
#A240A4 #BF60C1 #D18CD2 #E3B8E3 #F4E4F4
Accessibility & contrast
On white
2.50
#D18CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#D18CD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D18CD2
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D18CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D18CD2 | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#879ED5
Deuteranopia (green-blind)
#98A7D0
Tritanopia (blue-blind)
#D592A6
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d18cd2; /* rgb */ color: rgb(209, 140, 210); /* oklch */ color: oklch(73.3% 0.124 326.3);
Tailwind
colors: {
custom: {
50: '#e0aee0',
500: '#d18cd2',
950: '#000000',
},
}SCSS
$custom: #d18cd2; $custom-light: #e0aee0; $custom-dark: #000000;
JSON
{
"hex": "#d18cd2",
"rgb": {
"r": 209,
"g": 140,
"b": 210
},
"hsl": {
"h": 299.143,
"s": 43.75,
"l": 68.627
},
"oklch": {
"l": 0.73261,
"c": 0.12414,
"h": 326.3
},
"luminance": 0.36965
}Semantic roles & 50–950 ramp
primary
#D18CD2
secondary
#D3E7D2
accent
#B72F31
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83