#BA97BF#BA97BF
#BA97BF is a light, moderate purple. Relative luminance 0.363; OKLCH L 72.1% C 0.069 H 322.1°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #BA97BF |
|---|---|
| RGB | rgb(186, 151, 191) |
| HSL | hsl(293, 24%, 67%) |
| HSV | hsv(293, 21%, 75%) |
| CMYK | cmyk(2.6%, 20.9%, 0%, 25.1%) |
| CIE-LAB | lab(66.77, 20.14, -15.74) |
| CIE-LCH | lch(66.77, 25.56, 321.99°) |
| OKLab | oklab(72.14% 0.0545 -0.0424) |
| OKLCH | oklch(72.14% 0.069 322.1) |
| XYZ | xyz(40.7191, 36.3347, 54.1484) |
| Luminance | 0.3633 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 3.54
Dusty Lavender
#AC86A8
ΔE00 5.68
Heather
#A484AC
ΔE00 6.33
Pale Purple
#B790D4
ΔE00 6.99
Plum
#DDA0DD
ΔE00 7.73
Lavender
#B39DDB
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA97BF #9CBF97
analogous
#A697BF #BA97BF #BF97B0
triadic
#BA97BF #BFBA97 #97BFBA
tetradic
#BA97BF #BFA697 #9CBF97 #97B0BF
square
#BA97BF #BFA697 #9CBF97 #97B0BF
split-complementary
#BA97BF #B0BF97 #97BFA6
monochromatic
#815488 #A171A8 #BA97BF #D3BDD6 #ECE3EE
Accessibility & contrast
On white
2.54
#BA97BF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#BA97BF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA97BF
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA97BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA97BF | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93A0C1
Deuteranopia (green-blind)
#9BA4BE
Tritanopia (blue-blind)
#BB9BA5
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #ba97bf; /* rgb */ color: rgb(186, 151, 191); /* oklch */ color: oklch(72.1% 0.069 322.1);
Tailwind
colors: {
custom: {
50: '#cfb5d2',
500: '#ba97bf',
950: '#000000',
},
}SCSS
$custom: #ba97bf; $custom-light: #cfb5d2; $custom-dark: #000000;
JSON
{
"hex": "#ba97bf",
"rgb": {
"r": 186,
"g": 151,
"b": 191
},
"hsl": {
"h": 292.5,
"s": 23.81,
"l": 67.059
},
"oklch": {
"l": 0.72138,
"c": 0.06907,
"h": 322.1
},
"luminance": 0.36334
}Semantic roles & 50–950 ramp
primary
#BA97BF
secondary
#D4DFD3
accent
#A2434F
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131114
muted
#828082