#BA91C5#BA91C5

#BA91C5 is a light, moderate purple. Relative luminance 0.347; OKLCH L 71.3% C 0.087 H 319.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#BA91C5
RGBrgb(186, 145, 197)
HSLhsl(287, 31%, 67%)
HSVhsv(287, 26%, 77%)
CMYKcmyk(5.6%, 26.4%, 0%, 22.7%)
CIE-LABlab(65.53, 24.67, -20.98)
CIE-LCHlch(65.53, 32.38, 319.62°)
OKLaboklab(71.25% 0.0656 -0.0569)
OKLCHoklch(71.25% 0.087 319)
XYZxyz(40.4517, 34.7219, 57.3836)
Luminance0.3472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91C5 #9CC591
analogous
#A091C5 #BA91C5 #C591B6
triadic
#BA91C5 #C5BA91 #91C5BA
tetradic
#BA91C5 #C5A091 #9CC591 #91B6C5
square
#BA91C5 #C5A091 #9CC591 #91B6C5
split-complementary
#BA91C5 #B6C591 #91C5A0
monochromatic
#814C90 #A169B0 #BA91C5 #D3B9DA #ECE1EF

Accessibility & contrast

On white

2.64
#BA91C5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#BA91C5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91C5
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91C5#FFFFFF#000000##000000
##BA91C51.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9CC7
Deuteranopia (green-blind)
#94A1C3
Tritanopia (blue-blind)
#BB97A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba91c5;
/* rgb */ color: rgb(186, 145, 197);
/* oklch */ color: oklch(71.3% 0.087 319.0);
Tailwind
colors: {
  custom: {
    50: '#cfb1d6',
    500: '#ba91c5',
    950: '#000000',
  },
}
SCSS
$custom: #ba91c5;
$custom-light: #cfb1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91c5",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 197
  },
  "hsl": {
    "h": 287.308,
    "s": 30.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71252,
    "c": 0.08682,
    "h": 319
  },
  "luminance": 0.34721
}

Semantic roles & 50–950 ramp

primary
#BA91C5
secondary
#D4E1D1
accent
#AA3C53
background
#FCFAFD
surface
#F9F5FA
border
#D2CFD3
text
#141014
muted
#827F83

Preview Lab

Preview with #BA91C5

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

Preview Lab → · Contrast checker → · Palette generator →

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