#BA9EBC#BA9EBC
#BA9EBC is a light, muted purple. Relative luminance 0.385; OKLCH L 73.4% C 0.053 H 324.0°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #BA9EBC |
|---|---|
| RGB | rgb(186, 158, 188) |
| HSL | hsl(296, 18%, 68%) |
| HSV | hsv(296, 16%, 74%) |
| CMYK | cmyk(1.1%, 16%, 0%, 26.3%) |
| CIE-LAB | lab(68.41, 15.66, -11.62) |
| CIE-LCH | lch(68.41, 19.50, 323.44°) |
| OKLab | oklab(73.37% 0.0428 -0.0311) |
| OKLCH | oklch(73.37% 0.053 324) |
| XYZ | xyz(41.5525, 38.5244, 52.8142) |
| Luminance | 0.3852 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 3.67
Dusty Lavender
#AC86A8
ΔE00 7.20
Heather
#A484AC
ΔE00 8.25
Light Mauve
#C292A1
ΔE00 8.30
Thistle
#D8BFD8
ΔE00 8.84
Lavender
#B39DDB
ΔE00 9.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA9EBC #A0BC9E
analogous
#AB9EBC #BA9EBC #BC9EAF
triadic
#BA9EBC #BCBA9E #9EBCBA
tetradic
#BA9EBC #BCAB9E #A0BC9E #9EAFBC
square
#BA9EBC #BCAB9E #A0BC9E #9EAFBC
split-complementary
#BA9EBC #AFBC9E #9EBCAB
monochromatic
#825B84 #A07AA3 #BA9EBC #D4C2D5 #EDE6EE
Accessibility & contrast
On white
2.41
#BA9EBC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.70
#BA9EBC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA9EBC
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA9EBC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA9EBC | 1.00 | 2.41 | 8.70 | 8.70 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9CA5BD
Deuteranopia (green-blind)
#A2A8BB
Tritanopia (blue-blind)
#BCA1A8
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #ba9ebc; /* rgb */ color: rgb(186, 158, 188); /* oklch */ color: oklch(73.4% 0.053 324.0);
Tailwind
colors: {
custom: {
50: '#cfbad0',
500: '#ba9ebc',
950: '#000000',
},
}SCSS
$custom: #ba9ebc; $custom-light: #cfbad0; $custom-dark: #000000;
JSON
{
"hex": "#ba9ebc",
"rgb": {
"r": 186,
"g": 158,
"b": 188
},
"hsl": {
"h": 296,
"s": 18.293,
"l": 67.843
},
"oklch": {
"l": 0.73365,
"c": 0.05291,
"h": 324
},
"luminance": 0.38524
}Semantic roles & 50–950 ramp
primary
#BA9EBC
secondary
#D7E0D6
accent
#9D494E
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131114
muted
#828082