#D187EB#D187EB
#D187EB is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.5% C 0.159 H 316.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #D187EB |
|---|---|
| RGB | rgb(209, 135, 235) |
| HSL | hsl(284, 71%, 73%) |
| HSV | hsv(284, 43%, 92%) |
| CMYK | cmyk(11.1%, 42.6%, 0%, 7.8%) |
| CIE-LAB | lab(67.19, 44.92, -39.32) |
| CIE-LCH | lch(67.19, 59.70, 318.81°) |
| OKLab | oklab(73.55% 0.116 -0.1086) |
| OKLCH | oklch(73.55% 0.159 316.9) |
| XYZ | xyz(49.9517, 36.8828, 83.0689) |
| Luminance | 0.3688 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 5.00
Violet (CSS)
#EE82EE
ΔE00 5.15
Lavender Pink
#DD85D7
ΔE00 5.29
Baby Purple
#CA9BF7
ΔE00 5.63
Light Purple
#BF77F6
ΔE00 6.17
Orchid
#DA70D6
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D187EB #A1EB87
analogous
#9F87EB #D187EB #EB87D3
triadic
#D187EB #EBD187 #87EBD1
tetradic
#D187EB #EB9F87 #A1EB87 #87D3EB
square
#D187EB #EB9F87 #A1EB87 #87D3EB
split-complementary
#D187EB #D3EB87 #87EB9F
monochromatic
#A623D4 #BD53E2 #D187EB #E5BBF4 #F5E5FB
Accessibility & contrast
On white
2.51
#D187EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#D187EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D187EB
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D187EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D187EB | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#769FEF
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#D094AE
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #d187eb; /* rgb */ color: rgb(209, 135, 235); /* oklch */ color: oklch(73.5% 0.159 316.9);
Tailwind
colors: {
custom: {
50: '#e1abf2',
500: '#d187eb',
950: '#000000',
},
}SCSS
$custom: #d187eb; $custom-light: #e1abf2; $custom-dark: #000000;
JSON
{
"hex": "#d187eb",
"rgb": {
"r": 209,
"g": 135,
"b": 235
},
"hsl": {
"h": 284.4,
"s": 71.429,
"l": 72.549
},
"oklch": {
"l": 0.73546,
"c": 0.15889,
"h": 316.9
},
"luminance": 0.36881
}Semantic roles & 50–950 ramp
primary
#D187EB
secondary
#DFF2D9
accent
#D31244
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85