#B196FC#B196FC
#B196FC is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.8% C 0.146 H 294.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B196FC |
|---|---|
| RGB | rgb(177, 150, 252) |
| HSL | hsl(256, 94%, 79%) |
| HSV | hsv(256, 40%, 99%) |
| CMYK | cmyk(29.8%, 40.5%, 0%, 1.2%) |
| CIE-LAB | lab(68.16, 31.52, -47.34) |
| CIE-LCH | lch(68.16, 56.87, 303.66°) |
| OKLab | oklab(73.8% 0.0611 -0.1325) |
| OKLCH | oklch(73.8% 0.146 294.7) |
| XYZ | xyz(46.6042, 38.1874, 96.9921) |
| Luminance | 0.3819 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.82
Pastel Purple
#CAA0FF
ΔE00 5.25
Baby Purple
#CA9BF7
ΔE00 5.77
Lilac (survey)
#CEA2FD
ΔE00 6.34
Lavender (survey)
#C79FEF
ΔE00 6.53
Perrywinkle
#8F8CE7
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B196FC #E1FC96
analogous
#96AEFC #B196FC #E496FC
triadic
#B196FC #FCB196 #96FCB1
tetradic
#B196FC #FC96AE #E1FC96 #96FCE4
square
#B196FC #FC96AE #E1FC96 #96FCE4
split-complementary
#B196FC #FCE496 #AEFC96
monochromatic
#591FF9 #855BFA #B196FC #DDD2FE #E9E1FE
Accessibility & contrast
On white
2.43
#B196FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#B196FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B196FC
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B196FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B196FC | 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)
#78A7FF
Deuteranopia (green-blind)
#7CA5F9
Tritanopia (blue-blind)
#A1A8BD
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #b196fc; /* rgb */ color: rgb(177, 150, 252); /* oklch */ color: oklch(73.8% 0.146 294.7);
Tailwind
colors: {
custom: {
50: '#cab5fe',
500: '#b196fc',
950: '#000000',
},
}SCSS
$custom: #b196fc; $custom-light: #cab5fe; $custom-dark: #000000;
JSON
{
"hex": "#b196fc",
"rgb": {
"r": 177,
"g": 150,
"b": 252
},
"hsl": {
"h": 255.882,
"s": 94.444,
"l": 78.824
},
"oklch": {
"l": 0.73804,
"c": 0.14589,
"h": 294.7
},
"luminance": 0.38188
}Semantic roles & 50–950 ramp
primary
#B196FC
secondary
#EDF6D5
accent
#E600A9
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086