#BA91BB#BA91BB

#BA91BB is a light, moderate purple. Relative luminance 0.343; OKLCH L 70.9% C 0.076 H 325.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#BA91BB
RGBrgb(186, 145, 187)
HSLhsl(299, 24%, 65%)
HSVhsv(299, 22%, 73%)
CMYKcmyk(0.5%, 22.5%, 0%, 26.7%)
CIE-LABlab(65.18, 22.71, -15.91)
CIE-LCHlch(65.18, 27.72, 324.99°)
OKLaboklab(70.87% 0.0625 -0.0428)
OKLCHoklch(70.87% 0.076 325.6)
XYZxyz(39.3437, 34.2787, 51.5480)
Luminance0.3428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91BB #92BB91
analogous
#A591BB #BA91BB #BB91A7
triadic
#BA91BB #BBBA91 #91BBBA
tetradic
#BA91BB #BBA591 #92BB91 #91A7BB
square
#BA91BB #BBA591 #92BB91 #91A7BB
split-complementary
#BA91BB #A7BB91 #91BBA5
monochromatic
#805082 #A26BA4 #BA91BB #D2B7D2 #E9DDEA

Accessibility & contrast

On white

2.67
#BA91BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#BA91BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91BB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91BB#FFFFFF#000000##000000
##BA91BB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9BBD
Deuteranopia (green-blind)
#97A0B9
Tritanopia (blue-blind)
#BD959F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba91bb;
/* rgb */ color: rgb(186, 145, 187);
/* oklch */ color: oklch(70.9% 0.076 325.6);
Tailwind
colors: {
  custom: {
    50: '#cfb1cf',
    500: '#ba91bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba91bb;
$custom-light: #cfb1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91bb",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 187
  },
  "hsl": {
    "h": 298.571,
    "s": 23.596,
    "l": 65.098
  },
  "oklch": {
    "l": 0.7087,
    "c": 0.07572,
    "h": 325.6
  },
  "luminance": 0.34278
}

Semantic roles & 50–950 ramp

primary
#BA91BB
secondary
#CDDBCD
accent
#A24346
background
#FCFAFC
surface
#F9F5F9
border
#D2CFD2
text
#141013
muted
#827F82

Preview Lab

Preview with #BA91BB

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

Preview Lab → · Contrast checker → · Palette generator →

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