#BA9EBA#BA9EBA
#BA9EBA is a light, muted purple. Relative luminance 0.384; OKLCH L 73.3% C 0.051 H 326.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9EBA |
|---|---|
| RGB | rgb(186, 158, 186) |
| HSL | hsl(300, 17%, 67%) |
| HSV | hsv(300, 15%, 73%) |
| CMYK | cmyk(0%, 15.1%, 0%, 27.1%) |
| CIE-LAB | lab(68.34, 15.28, -10.60) |
| CIE-LCH | lch(68.34, 18.60, 325.26°) |
| OKLab | oklab(73.3% 0.0421 -0.0283) |
| OKLCH | oklch(73.3% 0.051 326.1) |
| XYZ | xyz(41.3384, 38.4387, 51.6866) |
| Luminance | 0.3844 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 4.05
Dusty Lavender
#AC86A8
ΔE00 7.26
Light Mauve
#C292A1
ΔE00 7.86
Heather
#A484AC
ΔE00 8.47
Thistle
#D8BFD8
ΔE00 8.79
Grey Pink
#C3909B
ΔE00 9.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9EBA #9EBA9E
analogous
#AC9EBA #BA9EBA #BA9EAC
triadic
#BA9EBA #BABA9E #9EBABA
tetradic
#BA9EBA #BAAC9E #9EBA9E #9EACBA
square
#BA9EBA #BAAC9E #9EBA9E #9EACBA
split-complementary
#BA9EBA #ACBA9E #9EBAAC
monochromatic
#815C81 #A17AA1 #BA9EBA #D3C2D3 #EDE6ED
Accessibility & contrast
On white
2.42
#BA9EBA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#BA9EBA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9EBA
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9EBA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9EBA | 1.00 | 2.42 | 8.69 | 8.69 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9CA5BB
Deuteranopia (green-blind)
#A2A8B9
Tritanopia (blue-blind)
#BCA0A7
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #ba9eba; /* rgb */ color: rgb(186, 158, 186); /* oklch */ color: oklch(73.3% 0.051 326.1);
Tailwind
colors: {
custom: {
50: '#cfbace',
500: '#ba9eba',
950: '#000000',
},
}SCSS
$custom: #ba9eba; $custom-light: #cfbace; $custom-dark: #000000;
JSON
{
"hex": "#ba9eba",
"rgb": {
"r": 186,
"g": 158,
"b": 186
},
"hsl": {
"h": 300,
"s": 16.867,
"l": 67.451
},
"oklch": {
"l": 0.73295,
"c": 0.05073,
"h": 326.1
},
"luminance": 0.38438
}Semantic roles & 50–950 ramp
primary
#BA9EBA
secondary
#D6DED6
accent
#9B4A4A
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131113
muted
#828082