#BA91C9#BA91C9

#BA91C9 is a light, moderate purple. Relative luminance 0.349; OKLCH L 71.4% C 0.091 H 316.8°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#BA91C9
RGBrgb(186, 145, 201)
HSLhsl(284, 34%, 68%)
HSVhsv(284, 28%, 79%)
CMYKcmyk(7.5%, 27.9%, 0%, 21.2%)
CIE-LABlab(65.68, 25.48, -22.99)
CIE-LCHlch(65.68, 34.32, 317.94°)
OKLaboklab(71.41% 0.0667 -0.0626)
OKLCHoklch(71.41% 0.091 316.8)
XYZxyz(40.9162, 34.9077, 59.8295)
Luminance0.3491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91C9 #A0C991
analogous
#9E91C9 #BA91C9 #C991BC
triadic
#BA91C9 #C9BA91 #91C9BA
tetradic
#BA91C9 #C99E91 #A0C991 #91BCC9
square
#BA91C9 #C99E91 #A0C991 #91BCC9
split-complementary
#BA91C9 #BCC991 #91C99E
monochromatic
#824A96 #A068B5 #BA91C9 #D4BADD #EDE3F1

Accessibility & contrast

On white

2.63
#BA91C9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#BA91C9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91C9
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91C9#FFFFFF#000000##000000
##BA91C91.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A9DCB
Deuteranopia (green-blind)
#93A1C7
Tritanopia (blue-blind)
#BA97A5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba91c9;
/* rgb */ color: rgb(186, 145, 201);
/* oklch */ color: oklch(71.4% 0.091 316.8);
Tailwind
colors: {
  custom: {
    50: '#cfb1d9',
    500: '#ba91c9',
    950: '#000000',
  },
}
SCSS
$custom: #ba91c9;
$custom-light: #cfb1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91c9",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 201
  },
  "hsl": {
    "h": 283.929,
    "s": 34.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71411,
    "c": 0.09148,
    "h": 316.8
  },
  "luminance": 0.34907
}

Semantic roles & 50–950 ramp

primary
#BA91C9
secondary
#D7E4D2
accent
#AD3958
background
#FCFAFD
surface
#F9F5FA
border
#D2CFD3
text
#141014
muted
#827F83

Preview Lab

Preview with #BA91C9

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

Preview Lab → · Contrast checker → · Palette generator →

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