#B196EF#B196EF
#B196EF is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.2% C 0.129 H 297.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #B196EF |
|---|---|
| RGB | rgb(177, 150, 239) |
| HSL | hsl(258, 74%, 76%) |
| HSV | hsv(258, 37%, 94%) |
| CMYK | cmyk(25.9%, 37.2%, 0%, 6.3%) |
| CIE-LAB | lab(67.57, 28.37, -41.15) |
| CIE-LCH | lch(67.57, 49.98, 304.58°) |
| OKLab | oklab(73.16% 0.0586 -0.1146) |
| OKLCH | oklch(73.16% 0.129 297.1) |
| XYZ | xyz(44.6142, 37.3914, 86.5114) |
| Luminance | 0.3739 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 4.90
Baby Purple
#CA9BF7
ΔE00 4.94
Liliac
#C48EFD
ΔE00 4.97
Lavender (survey)
#C79FEF
ΔE00 5.13
Lavender
#B39DDB
ΔE00 5.34
Lilac (survey)
#CEA2FD
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B196EF #D4EF96
analogous
#96A8EF #B196EF #DE96EF
triadic
#B196EF #EFB196 #96EFB1
tetradic
#B196EF #EF96A8 #D4EF96 #96EFDE
square
#B196EF #EF96A8 #D4EF96 #96EFDE
split-complementary
#B196EF #EFDE96 #A8EF96
monochromatic
#622CDF #8A61E7 #B196EF #D8CBF7 #EBE4FB
Accessibility & contrast
On white
2.48
#B196EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#B196EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B196EF
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B196EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B196EF | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FA5F2
Deuteranopia (green-blind)
#83A4ED
Tritanopia (blue-blind)
#A5A5B7
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #b196ef; /* rgb */ color: rgb(177, 150, 239); /* oklch */ color: oklch(73.2% 0.129 297.1);
Tailwind
colors: {
custom: {
50: '#cab5f4',
500: '#b196ef',
950: '#000000',
},
}SCSS
$custom: #b196ef; $custom-light: #cab5f4; $custom-dark: #000000;
JSON
{
"hex": "#b196ef",
"rgb": {
"r": 177,
"g": 150,
"b": 239
},
"hsl": {
"h": 258.202,
"s": 73.554,
"l": 76.275
},
"oklch": {
"l": 0.73164,
"c": 0.12869,
"h": 297.1
},
"luminance": 0.37392
}Semantic roles & 50–950 ramp
primary
#B196EF
secondary
#EBF3D8
accent
#D6109A
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085