#B197CA#B197CA
#B197CA is a light, moderate violet. Relative luminance 0.357; OKLCH L 71.7% C 0.078 H 307.7°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B197CA |
|---|---|
| RGB | rgb(177, 151, 202) |
| HSL | hsl(271, 32%, 69%) |
| HSV | hsv(271, 25%, 79%) |
| CMYK | cmyk(12.4%, 25.2%, 0%, 20.8%) |
| CIE-LAB | lab(66.32, 19.40, -22.63) |
| CIE-LCH | lch(66.32, 29.81, 310.60°) |
| OKLab | oklab(71.72% 0.0477 -0.0617) |
| OKLCH | oklch(71.72% 0.078 307.7) |
| XYZ | xyz(39.8568, 35.7448, 60.6654) |
| Luminance | 0.3574 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 3.73
Pale Purple
#B790D4
ΔE00 4.11
Lilac
#C8A2C8
ΔE00 6.66
Heather
#A484AC
ΔE00 7.05
Lavender (survey)
#C79FEF
ΔE00 7.22
Wisteria
#A87DC2
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B197CA #B0CA97
analogous
#9897CA #B197CA #CA97CA
triadic
#B197CA #CAB197 #97CAB1
tetradic
#B197CA #CA9897 #B0CA97 #97CACA
square
#B197CA #CA9897 #B0CA97 #97CACA
split-complementary
#B197CA #CACA97 #97CA98
monochromatic
#744E99 #936EB5 #B197CA #CFC0DF #EEE8F3
Accessibility & contrast
On white
2.58
#B197CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.15
#B197CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B197CA
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B197CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B197CA | 1.00 | 2.58 | 8.15 | 8.15 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8EA0CC
Deuteranopia (green-blind)
#93A2C8
Tritanopia (blue-blind)
#AE9EA9
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #b197ca; /* rgb */ color: rgb(177, 151, 202); /* oklch */ color: oklch(71.7% 0.078 307.7);
Tailwind
colors: {
custom: {
50: '#c8b5da',
500: '#b197ca',
950: '#000000',
},
}SCSS
$custom: #b197ca; $custom-light: #c8b5da; $custom-dark: #000000;
JSON
{
"hex": "#b197ca",
"rgb": {
"r": 177,
"g": 151,
"b": 202
},
"hsl": {
"h": 270.588,
"s": 32.484,
"l": 69.216
},
"oklch": {
"l": 0.71721,
"c": 0.07801,
"h": 307.7
},
"luminance": 0.35745
}Semantic roles & 50–950 ramp
primary
#B197CA
secondary
#DEE6D7
accent
#AB3A72
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083