#D185EC#D185EC
#D185EC is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.3% C 0.163 H 316.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #D185EC |
|---|---|
| RGB | rgb(209, 133, 236) |
| HSL | hsl(284, 73%, 72%) |
| HSV | hsv(284, 44%, 93%) |
| CMYK | cmyk(11.4%, 43.6%, 0%, 7.5%) |
| CIE-LAB | lab(66.82, 46.18, -40.46) |
| CIE-LCH | lch(66.82, 61.39, 318.78°) |
| OKLab | oklab(73.28% 0.119 -0.1118) |
| OKLCH | oklch(73.28% 0.163 316.8) |
| XYZ | xyz(49.8201, 36.3879, 83.7398) |
| Luminance | 0.3639 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.98
Violet (CSS)
#EE82EE
ΔE00 5.16
Lavender Pink
#DD85D7
ΔE00 5.52
Light Purple
#BF77F6
ΔE00 5.72
Baby Purple
#CA9BF7
ΔE00 5.97
Orchid
#DA70D6
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D185EC #A0EC85
analogous
#9E85EC #D185EC #EC85D3
triadic
#D185EC #ECD185 #85ECD1
tetradic
#D185EC #EC9E85 #A0EC85 #85D3EC
square
#D185EC #EC9E85 #A0EC85 #85D3EC
split-complementary
#D185EC #D3EC85 #85EC9E
monochromatic
#A621D5 #BD50E4 #D185EC #E5BAF4 #F5E5FB
Accessibility & contrast
On white
2.54
#D185EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#D185EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D185EC
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D185EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D185EC | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#739EF0
Deuteranopia (green-blind)
#88A5E9
Tritanopia (blue-blind)
#D093AD
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d185ec; /* rgb */ color: rgb(209, 133, 236); /* oklch */ color: oklch(73.3% 0.163 316.8);
Tailwind
colors: {
custom: {
50: '#e1aaf2',
500: '#d185ec',
950: '#000000',
},
}SCSS
$custom: #d185ec; $custom-light: #e1aaf2; $custom-dark: #000000;
JSON
{
"hex": "#d185ec",
"rgb": {
"r": 209,
"g": 133,
"b": 236
},
"hsl": {
"h": 284.272,
"s": 73.05,
"l": 72.353
},
"oklch": {
"l": 0.7328,
"c": 0.16329,
"h": 316.8
},
"luminance": 0.36386
}Semantic roles & 50–950 ramp
primary
#D185EC
secondary
#DFF3D8
accent
#D51044
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85