#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
RGBrgb(186, 158, 186)
HSLhsl(300, 17%, 67%)
HSVhsv(300, 15%, 73%)
CMYKcmyk(0%, 15.1%, 0%, 27.1%)
CIE-LABlab(68.34, 15.28, -10.60)
CIE-LCHlch(68.34, 18.60, 325.26°)
OKLaboklab(73.3% 0.0421 -0.0283)
OKLCHoklch(73.3% 0.051 326.1)
XYZxyz(41.3384, 38.4387, 51.6866)
Luminance0.3844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##BA9EBA1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.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

Preview Lab

Preview with #BA9EBA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA9EBA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva