#D186EF#D186EF
#D186EF is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.6% C 0.165 H 315.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #D186EF |
|---|---|
| RGB | rgb(209, 134, 239) |
| HSL | hsl(283, 77%, 73%) |
| HSV | hsv(283, 44%, 94%) |
| CMYK | cmyk(12.6%, 43.9%, 0%, 6.3%) |
| CIE-LAB | lab(67.16, 46.26, -41.57) |
| CIE-LCH | lch(67.16, 62.20, 318.06°) |
| OKLab | oklab(73.58% 0.1181 -0.1151) |
| OKLCH | oklch(73.58% 0.165 315.7) |
| XYZ | xyz(50.3972, 36.8388, 86.1004) |
| Luminance | 0.3684 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.51
Violet (CSS)
#EE82EE
ΔE00 5.38
Light Purple
#BF77F6
ΔE00 5.56
Baby Purple
#CA9BF7
ΔE00 5.63
Lavender Pink
#DD85D7
ΔE00 5.98
Orchid
#DA70D6
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D186EF #A4EF86
analogous
#9C86EF #D186EF #EF86D8
triadic
#D186EF #EFD186 #86EFD1
tetradic
#D186EF #EF9C86 #A4EF86 #86D8EF
square
#D186EF #EF9C86 #A4EF86 #86D8EF
split-complementary
#D186EF #D8EF86 #86EF9C
monochromatic
#A61DDD #BC50E8 #D186EF #E6BCF6 #F5E4FB
Accessibility & contrast
On white
2.51
#D186EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#D186EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D186EF
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D186EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D186EF | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#739FF3
Deuteranopia (green-blind)
#87A6EC
Tritanopia (blue-blind)
#D095AF
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #d186ef; /* rgb */ color: rgb(209, 134, 239); /* oklch */ color: oklch(73.6% 0.165 315.7);
Tailwind
colors: {
custom: {
50: '#e1abf4',
500: '#d186ef',
950: '#000000',
},
}SCSS
$custom: #d186ef; $custom-light: #e1abf4; $custom-dark: #000000;
JSON
{
"hex": "#d186ef",
"rgb": {
"r": 209,
"g": 134,
"b": 239
},
"hsl": {
"h": 282.857,
"s": 76.642,
"l": 73.137
},
"oklch": {
"l": 0.73579,
"c": 0.16488,
"h": 315.7
},
"luminance": 0.36837
}Semantic roles & 50–950 ramp
primary
#D186EF
secondary
#E0F3D8
accent
#D90D47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85