#D196FC#D196FC
#D196FC is a light, vivid violet. Relative luminance 0.424; OKLCH L 76.8% C 0.153 H 309.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #D196FC |
|---|---|
| RGB | rgb(209, 150, 252) |
| HSL | hsl(275, 94%, 79%) |
| HSV | hsv(275, 40%, 99%) |
| CMYK | cmyk(17.1%, 40.5%, 0%, 1.2%) |
| CIE-LAB | lab(71.14, 40.45, -42.44) |
| CIE-LCH | lch(71.14, 58.63, 313.62°) |
| OKLab | oklab(76.76% 0.0981 -0.1177) |
| OKLCH | oklch(76.76% 0.153 309.8) |
| XYZ | xyz(54.7683, 42.3970, 97.3748) |
| Luminance | 0.4240 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 2.12
Liliac
#C48EFD
ΔE00 3.21
Pastel Purple
#CAA0FF
ΔE00 3.22
Lilac (survey)
#CEA2FD
ΔE00 3.24
Lavender (survey)
#C79FEF
ΔE00 4.05
Pale Violet
#CEAEFA
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D196FC #C1FC96
analogous
#9E96FC #D196FC #FC96F4
triadic
#D196FC #FCD196 #96FCD1
tetradic
#D196FC #FC9E96 #C1FC96 #96F4FC
square
#D196FC #FC9E96 #C1FC96 #96F4FC
split-complementary
#D196FC #F4FC96 #96FC9E
monochromatic
#9D1FF9 #B75BFA #D196FC #EBD2FE #F2E1FE
Accessibility & contrast
On white
2.22
#D196FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#D196FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D196FC
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D196FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D196FC | 1.00 | 2.22 | 9.48 | 9.48 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#8FAFF9
Tritanopia (blue-blind)
#CCA5BD
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #d196fc; /* rgb */ color: rgb(209, 150, 252); /* oklch */ color: oklch(76.8% 0.153 309.8);
Tailwind
colors: {
custom: {
50: '#e0b6fd',
500: '#d196fc',
950: '#000000',
},
}SCSS
$custom: #d196fc; $custom-light: #e0b6fd; $custom-dark: #000000;
JSON
{
"hex": "#d196fc",
"rgb": {
"r": 209,
"g": 150,
"b": 252
},
"hsl": {
"h": 274.706,
"s": 94.444,
"l": 78.824
},
"oklch": {
"l": 0.76759,
"c": 0.15316,
"h": 309.8
},
"luminance": 0.42396
}Semantic roles & 50–950 ramp
primary
#D196FC
secondary
#E3F6D5
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086