#D186FF#D186FF
#D186FF is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.4% C 0.182 H 311.3°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #D186FF |
|---|---|
| RGB | rgb(209, 134, 255) |
| HSL | hsl(277, 100%, 76%) |
| HSV | hsv(277, 47%, 100%) |
| CMYK | cmyk(18%, 47.5%, 0%, 0%) |
| CIE-LAB | lab(67.89, 49.59, -49.18) |
| CIE-LCH | lch(67.89, 69.84, 315.24°) |
| OKLab | oklab(74.37% 0.1204 -0.1371) |
| OKLCH | oklch(74.37% 0.182 311.3) |
| XYZ | xyz(52.8664, 37.8265, 99.1046) |
| Luminance | 0.3783 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.14
Light Purple
#BF77F6
ΔE00 4.67
Baby Purple
#CA9BF7
ΔE00 5.68
Easter Purple
#C071FE
ΔE00 5.74
Pastel Purple
#CAA0FF
ΔE00 6.67
Violet (CSS)
#EE82EE
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D186FF #B4FF86
analogous
#9586FF #D186FF #FF86F1
triadic
#D186FF #FFD186 #86FFD1
tetradic
#D186FF #FF9586 #B4FF86 #86F1FF
square
#D186FF #FF9586 #B4FF86 #86F1FF
split-complementary
#D186FF #F1FF86 #86FF95
monochromatic
#A20CFF #BA49FF #D186FF #E8C3FF #F3E0FF
Accessibility & contrast
On white
2.45
#D186FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.57
#D186FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D186FF
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D186FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D186FF | 1.00 | 2.45 | 8.57 | 8.57 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6AA2FF
Deuteranopia (green-blind)
#7FA7FC
Tritanopia (blue-blind)
#CC99B7
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d186ff; /* rgb */ color: rgb(209, 134, 255); /* oklch */ color: oklch(74.4% 0.182 311.3);
Tailwind
colors: {
custom: {
50: '#e1abff',
500: '#d186ff',
950: '#000000',
},
}SCSS
$custom: #d186ff; $custom-light: #e1abff; $custom-dark: #000000;
JSON
{
"hex": "#d186ff",
"rgb": {
"r": 209,
"g": 134,
"b": 255
},
"hsl": {
"h": 277.19,
"s": 100,
"l": 76.275
},
"oklch": {
"l": 0.74369,
"c": 0.18244,
"h": 311.3
},
"luminance": 0.37826
}Semantic roles & 50–950 ramp
primary
#D186FF
secondary
#E1F7D4
accent
#E60057
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86