#B296E4#B296E4
#B296E4 is a light, moderate violet. Relative luminance 0.369; OKLCH L 72.7% C 0.114 H 300.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B296E4 |
|---|---|
| RGB | rgb(178, 150, 228) |
| HSL | hsl(262, 59%, 74%) |
| HSV | hsv(262, 34%, 89%) |
| CMYK | cmyk(21.9%, 34.2%, 0%, 10.6%) |
| CIE-LAB | lab(67.19, 26.07, -35.70) |
| CIE-LCH | lch(67.19, 44.20, 306.14°) |
| OKLab | oklab(72.74% 0.0573 -0.0989) |
| OKLCH | oklch(72.74% 0.114 300.1) |
| XYZ | xyz(43.2670, 36.8790, 78.2227) |
| Luminance | 0.3688 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.43
Pale Purple
#B790D4
ΔE00 4.21
Lavender (survey)
#C79FEF
ΔE00 4.28
Baby Purple
#CA9BF7
ΔE00 4.85
Pastel Purple
#CAA0FF
ΔE00 5.34
Lilac (survey)
#CEA2FD
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B296E4 #C8E496
analogous
#96A1E4 #B296E4 #D996E4
triadic
#B296E4 #E4B296 #96E4B2
tetradic
#B296E4 #E496A1 #C8E496 #96E4D9
square
#B296E4 #E496A1 #C8E496 #96E4D9
split-complementary
#B296E4 #E4D996 #A1E496
monochromatic
#6B35CB #8E65D7 #B296E4 #D6C7F1 #EDE7F9
Accessibility & contrast
On white
2.51
#B296E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#B296E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B296E4
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B296E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B296E4 | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84A3E7
Deuteranopia (green-blind)
#89A3E2
Tritanopia (blue-blind)
#A9A2B3
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #b296e4; /* rgb */ color: rgb(178, 150, 228); /* oklch */ color: oklch(72.7% 0.114 300.1);
Tailwind
colors: {
custom: {
50: '#cab5ec',
500: '#b296e4',
950: '#000000',
},
}SCSS
$custom: #b296e4; $custom-light: #cab5ec; $custom-dark: #000000;
JSON
{
"hex": "#b296e4",
"rgb": {
"r": 178,
"g": 150,
"b": 228
},
"hsl": {
"h": 261.538,
"s": 59.091,
"l": 74.118
},
"oklch": {
"l": 0.72738,
"c": 0.11425,
"h": 300.1
},
"luminance": 0.36879
}Semantic roles & 50–950 ramp
primary
#B296E4
secondary
#E8F0DB
accent
#C71F8A
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084