#D186FD#D186FD
#D186FD is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.3% C 0.180 H 311.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #D186FD |
|---|---|
| RGB | rgb(209, 134, 253) |
| HSL | hsl(278, 97%, 76%) |
| HSV | hsv(278, 47%, 99%) |
| CMYK | cmyk(17.4%, 47%, 0%, 0.8%) |
| CIE-LAB | lab(67.80, 49.17, -48.24) |
| CIE-LCH | lch(67.80, 68.88, 315.55°) |
| OKLab | oklab(74.27% 0.1201 -0.1343) |
| OKLCH | oklch(74.27% 0.18 311.8) |
| XYZ | xyz(52.5461, 37.6984, 97.4179) |
| Luminance | 0.3770 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.21
Light Purple
#BF77F6
ΔE00 4.70
Baby Purple
#CA9BF7
ΔE00 5.61
Easter Purple
#C071FE
ΔE00 5.83
Pastel Purple
#CAA0FF
ΔE00 6.68
Violet (CSS)
#EE82EE
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D186FD #B2FD86
analogous
#9586FD #D186FD #FD86EE
triadic
#D186FD #FDD186 #86FDD1
tetradic
#D186FD #FD9586 #B2FD86 #86EEFD
square
#D186FD #FD9586 #B2FD86 #86EEFD
split-complementary
#D186FD #EEFD86 #86FD95
monochromatic
#A30EFB #BA4AFC #D186FD #E8C2FE #F4E1FF
Accessibility & contrast
On white
2.46
#D186FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#D186FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D186FD
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D186FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D186FD | 1.00 | 2.46 | 8.54 | 8.54 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#80A7FA
Tritanopia (blue-blind)
#CC99B6
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d186fd; /* rgb */ color: rgb(209, 134, 253); /* oklch */ color: oklch(74.3% 0.180 311.8);
Tailwind
colors: {
custom: {
50: '#e1abfe',
500: '#d186fd',
950: '#000000',
},
}SCSS
$custom: #d186fd; $custom-light: #e1abfe; $custom-dark: #000000;
JSON
{
"hex": "#d186fd",
"rgb": {
"r": 209,
"g": 134,
"b": 253
},
"hsl": {
"h": 277.815,
"s": 96.748,
"l": 75.882
},
"oklch": {
"l": 0.74267,
"c": 0.18022,
"h": 311.8
},
"luminance": 0.37697
}Semantic roles & 50–950 ramp
primary
#D186FD
secondary
#E1F7D4
accent
#E60055
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86