#D188F6#D188F6
#D188F6 is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.2% C 0.169 H 313.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #D188F6 |
|---|---|
| RGB | rgb(209, 136, 246) |
| HSL | hsl(280, 86%, 75%) |
| HSV | hsv(280, 45%, 96%) |
| CMYK | cmyk(15%, 44.7%, 0%, 3.5%) |
| CIE-LAB | lab(67.89, 46.65, -44.27) |
| CIE-LCH | lch(67.89, 64.31, 316.50°) |
| OKLab | oklab(74.23% 0.1164 -0.1229) |
| OKLCH | oklch(74.23% 0.169 313.5) |
| XYZ | xyz(51.7305, 37.8186, 91.7455) |
| Luminance | 0.3782 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.52
Baby Purple
#CA9BF7
ΔE00 5.06
Light Purple
#BF77F6
ΔE00 5.34
Violet (CSS)
#EE82EE
ΔE00 6.02
Pastel Purple
#CAA0FF
ΔE00 6.39
Lilac (survey)
#CEA2FD
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D188F6 #ADF688
analogous
#9A88F6 #D188F6 #F688E4
triadic
#D188F6 #F6D188 #88F6D1
tetradic
#D188F6 #F69A88 #ADF688 #88E4F6
square
#D188F6 #F69A88 #ADF688 #88E4F6
split-complementary
#D188F6 #E4F688 #88F69A
monochromatic
#A516ED #BB4FF2 #D188F6 #E7C1FA #F4E3FD
Accessibility & contrast
On white
2.45
#D188F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#D188F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D188F6
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D188F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D188F6 | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A1FA
Deuteranopia (green-blind)
#85A7F3
Tritanopia (blue-blind)
#CE98B3
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #d188f6; /* rgb */ color: rgb(209, 136, 246); /* oklch */ color: oklch(74.2% 0.169 313.5);
Tailwind
colors: {
custom: {
50: '#e1acf9',
500: '#d188f6',
950: '#000000',
},
}SCSS
$custom: #d188f6; $custom-light: #e1acf9; $custom-dark: #000000;
JSON
{
"hex": "#d188f6",
"rgb": {
"r": 209,
"g": 136,
"b": 246
},
"hsl": {
"h": 279.818,
"s": 85.938,
"l": 74.902
},
"oklch": {
"l": 0.74228,
"c": 0.16926,
"h": 313.5
},
"luminance": 0.37817
}Semantic roles & 50–950 ramp
primary
#D188F6
secondary
#E0F5D6
accent
#E2034E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85