#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
RGBrgb(186, 158, 188)
HSLhsl(296, 18%, 68%)
HSVhsv(296, 16%, 74%)
CMYKcmyk(1.1%, 16%, 0%, 26.3%)
CIE-LABlab(68.41, 15.66, -11.62)
CIE-LCHlch(68.41, 19.50, 323.44°)
OKLaboklab(73.37% 0.0428 -0.0311)
OKLCHoklch(73.37% 0.053 324)
XYZxyz(41.5525, 38.5244, 52.8142)
Luminance0.3852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##BA9EBC1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.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

Preview Lab

Preview with #BA9EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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