#D188FC#D188FC
#D188FC is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.5% C 0.176 H 311.8°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #D188FC |
|---|---|
| RGB | rgb(209, 136, 252) |
| HSL | hsl(278, 95%, 76%) |
| HSV | hsv(278, 46%, 99%) |
| CMYK | cmyk(17.1%, 46%, 0%, 1.2%) |
| CIE-LAB | lab(68.16, 47.91, -47.12) |
| CIE-LCH | lch(68.16, 67.20, 315.48°) |
| OKLab | oklab(74.52% 0.1173 -0.1311) |
| OKLCH | oklch(74.52% 0.176 311.8) |
| XYZ | xyz(52.6663, 38.1929, 96.6742) |
| Luminance | 0.3819 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.02
Light Purple
#BF77F6
ΔE00 5.07
Baby Purple
#CA9BF7
ΔE00 5.14
Pastel Purple
#CAA0FF
ΔE00 6.25
Easter Purple
#C071FE
ΔE00 6.27
Lilac (survey)
#CEA2FD
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D188FC #B3FC88
analogous
#9788FC #D188FC #FC88ED
triadic
#D188FC #FCD188 #88FCD1
tetradic
#D188FC #FC9788 #B3FC88 #88EDFC
square
#D188FC #FC9788 #B3FC88 #88EDFC
split-complementary
#D188FC #EDFC88 #88FC97
monochromatic
#A311F9 #BA4CFA #D188FC #E8C4FE #F3E1FE
Accessibility & contrast
On white
2.43
#D188FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#D188FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D188FC
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D188FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D188FC | 1.00 | 2.43 | 8.64 | 8.64 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#82A8F9
Tritanopia (blue-blind)
#CD9AB6
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #d188fc; /* rgb */ color: rgb(209, 136, 252); /* oklch */ color: oklch(74.5% 0.176 311.8);
Tailwind
colors: {
custom: {
50: '#e1acfe',
500: '#d188fc',
950: '#000000',
},
}SCSS
$custom: #d188fc; $custom-light: #e1acfe; $custom-dark: #000000;
JSON
{
"hex": "#d188fc",
"rgb": {
"r": 209,
"g": 136,
"b": 252
},
"hsl": {
"h": 277.759,
"s": 95.082,
"l": 76.078
},
"oklch": {
"l": 0.74524,
"c": 0.17592,
"h": 311.8
},
"luminance": 0.38192
}Semantic roles & 50–950 ramp
primary
#D188FC
secondary
#E1F6D5
accent
#E60055
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86