#B296E2#B296E2
#B296E2 is a light, moderate violet. Relative luminance 0.368; OKLCH L 72.6% C 0.112 H 300.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #B296E2 |
|---|---|
| RGB | rgb(178, 150, 226) |
| HSL | hsl(262, 57%, 74%) |
| HSV | hsv(262, 34%, 89%) |
| CMYK | cmyk(21.2%, 33.6%, 0%, 11.4%) |
| CIE-LAB | lab(67.10, 25.61, -34.73) |
| CIE-LCH | lch(67.10, 43.15, 306.40°) |
| OKLab | oklab(72.65% 0.0568 -0.0961) |
| OKLCH | oklch(72.65% 0.112 300.6) |
| XYZ | xyz(42.9909, 36.7685, 76.7689) |
| Luminance | 0.3677 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.12
Pale Purple
#B790D4
ΔE00 3.88
Lavender (survey)
#C79FEF
ΔE00 4.26
Baby Purple
#CA9BF7
ΔE00 4.97
Pastel Purple
#CAA0FF
ΔE00 5.54
Lilac (survey)
#CEA2FD
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B296E2 #C6E296
analogous
#96A0E2 #B296E2 #D896E2
triadic
#B296E2 #E2B296 #96E2B2
tetradic
#B296E2 #E296A0 #C6E296 #96E2D8
square
#B296E2 #E296A0 #C6E296 #96E2D8
split-complementary
#B296E2 #E2D896 #A0E296
monochromatic
#6C37C7 #8F66D5 #B296E2 #D5C6EF #EDE7F8
Accessibility & contrast
On white
2.51
#B296E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#B296E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B296E2
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B296E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B296E2 | 1.00 | 2.51 | 8.35 | 8.35 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85A3E5
Deuteranopia (green-blind)
#8AA3E0
Tritanopia (blue-blind)
#AAA2B2
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #b296e2; /* rgb */ color: rgb(178, 150, 226); /* oklch */ color: oklch(72.6% 0.112 300.6);
Tailwind
colors: {
custom: {
50: '#cab5eb',
500: '#b296e2',
950: '#000000',
},
}SCSS
$custom: #b296e2; $custom-light: #cab5eb; $custom-dark: #000000;
JSON
{
"hex": "#b296e2",
"rgb": {
"r": 178,
"g": 150,
"b": 226
},
"hsl": {
"h": 262.105,
"s": 56.716,
"l": 73.725
},
"oklch": {
"l": 0.72647,
"c": 0.1116,
"h": 300.6
},
"luminance": 0.36769
}Semantic roles & 50–950 ramp
primary
#B296E2
secondary
#E8F0DB
accent
#C42188
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084