#B397CA#B397CA
#B397CA is a light, moderate violet. Relative luminance 0.360; OKLCH L 71.9% C 0.079 H 309.4°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B397CA |
|---|---|
| RGB | rgb(179, 151, 202) |
| HSL | hsl(273, 32%, 69%) |
| HSV | hsv(273, 25%, 79%) |
| CMYK | cmyk(11.4%, 25.2%, 0%, 20.8%) |
| CIE-LAB | lab(66.51, 20.05, -22.34) |
| CIE-LCH | lch(66.51, 30.02, 311.91°) |
| OKLab | oklab(71.9% 0.05 -0.0609) |
| OKLCH | oklch(71.9% 0.079 309.4) |
| XYZ | xyz(40.3158, 35.9815, 60.6869) |
| Luminance | 0.3598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.99
Pale Purple
#B790D4
ΔE00 3.99
Lilac
#C8A2C8
ΔE00 6.26
Heather
#A484AC
ΔE00 6.99
Lavender (survey)
#C79FEF
ΔE00 7.14
Wisteria
#A87DC2
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B397CA #AECA97
analogous
#9A97CA #B397CA #CA97C8
triadic
#B397CA #CAB397 #97CAB3
tetradic
#B397CA #CA9A97 #AECA97 #97C8CA
square
#B397CA #CA9A97 #AECA97 #97C8CA
split-complementary
#B397CA #C8CA97 #97CA9A
monochromatic
#774E99 #956EB5 #B397CA #D1C0DF #EEE8F3
Accessibility & contrast
On white
2.56
#B397CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#B397CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B397CA
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B397CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B397CA | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8FA0CC
Deuteranopia (green-blind)
#94A2C8
Tritanopia (blue-blind)
#B09EA9
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #b397ca; /* rgb */ color: rgb(179, 151, 202); /* oklch */ color: oklch(71.9% 0.079 309.4);
Tailwind
colors: {
custom: {
50: '#cab5da',
500: '#b397ca',
950: '#000000',
},
}SCSS
$custom: #b397ca; $custom-light: #cab5da; $custom-dark: #000000;
JSON
{
"hex": "#b397ca",
"rgb": {
"r": 179,
"g": 151,
"b": 202
},
"hsl": {
"h": 272.941,
"s": 32.484,
"l": 69.216
},
"oklch": {
"l": 0.71904,
"c": 0.07877,
"h": 309.4
},
"luminance": 0.35981
}Semantic roles & 50–950 ramp
primary
#B397CA
secondary
#DEE6D7
accent
#AB3A6D
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083