#D187CD#D187CD
#D187CD is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.2% C 0.128 H 328.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #D187CD |
|---|---|
| RGB | rgb(209, 135, 205) |
| HSL | hsl(303, 45%, 67%) |
| HSV | hsv(303, 35%, 82%) |
| CMYK | cmyk(0%, 35.4%, 1.9%, 18%) |
| CIE-LAB | lab(65.98, 39.15, -24.55) |
| CIE-LCH | lch(65.98, 46.21, 327.91°) |
| OKLab | oklab(72.24% 0.1095 -0.0666) |
| OKLCH | oklch(72.24% 0.128 328.7) |
| XYZ | xyz(45.9771, 35.2930, 62.1362) |
| Luminance | 0.3529 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.54
Orchid (survey)
#C875C4
ΔE00 4.74
Orchid
#DA70D6
ΔE00 6.00
Plum
#DDA0DD
ΔE00 6.27
Violet (CSS)
#EE82EE
ΔE00 6.66
Pale Purple
#B790D4
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D187CD #87D18B
analogous
#B087D1 #D187CD #D187A8
triadic
#D187CD #CDD187 #87CDD1
tetradic
#D187CD #D1B087 #87D18B #87A8D1
square
#D187CD #D1B087 #87D18B #87A8D1
split-complementary
#D187CD #A8D187 #87D1B0
monochromatic
#A03D9B #C05BBB #D187CD #E2B3DF #F3DFF2
Accessibility & contrast
On white
2.61
#D187CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#D187CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D187CD
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D187CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D187CD | 1.00 | 2.61 | 8.06 | 8.06 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#839AD0
Deuteranopia (green-blind)
#96A4CB
Tritanopia (blue-blind)
#D68DA1
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d187cd; /* rgb */ color: rgb(209, 135, 205); /* oklch */ color: oklch(72.2% 0.128 328.7);
Tailwind
colors: {
custom: {
50: '#e0abdc',
500: '#d187cd',
950: '#000000',
},
}SCSS
$custom: #d187cd; $custom-light: #e0abdc; $custom-dark: #000000;
JSON
{
"hex": "#d187cd",
"rgb": {
"r": 209,
"g": 135,
"b": 205
},
"hsl": {
"h": 303.243,
"s": 44.578,
"l": 67.451
},
"oklch": {
"l": 0.72235,
"c": 0.1281,
"h": 328.7
},
"luminance": 0.35291
}Semantic roles & 50–950 ramp
primary
#D187CD
secondary
#CEE5D0
accent
#B8352E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83