#BA91C1#BA91C1

#BA91C1 is a light, moderate purple. Relative luminance 0.345; OKLCH L 71.1% C 0.082 H 321.4°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#BA91C1
RGBrgb(186, 145, 193)
HSLhsl(291, 28%, 66%)
HSVhsv(291, 25%, 76%)
CMYKcmyk(3.6%, 24.9%, 0%, 24.3%)
CIE-LABlab(65.39, 23.88, -18.96)
CIE-LCHlch(65.39, 30.48, 321.55°)
OKLaboklab(71.1% 0.0643 -0.0513)
OKLCHoklch(71.1% 0.082 321.4)
XYZxyz(39.9995, 34.5410, 55.0017)
Luminance0.3454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91C1 #98C191
analogous
#A291C1 #BA91C1 #C191B0
triadic
#BA91C1 #C1BA91 #91C1BA
tetradic
#BA91C1 #C1A291 #98C191 #91B0C1
square
#BA91C1 #C1A291 #98C191 #91B0C1
split-complementary
#BA91C1 #B0C191 #91C1A2
monochromatic
#814E8A #A16AAB #BA91C1 #D3B8D7 #EBDFED

Accessibility & contrast

On white

2.66
#BA91C1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#BA91C1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91C1
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91C1#FFFFFF#000000##000000
##BA91C11.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9CC3
Deuteranopia (green-blind)
#95A0BF
Tritanopia (blue-blind)
#BB96A2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba91c1;
/* rgb */ color: rgb(186, 145, 193);
/* oklch */ color: oklch(71.1% 0.082 321.4);
Tailwind
colors: {
  custom: {
    50: '#cfb1d3',
    500: '#ba91c1',
    950: '#000000',
  },
}
SCSS
$custom: #ba91c1;
$custom-light: #cfb1d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91c1",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 193
  },
  "hsl": {
    "h": 291.25,
    "s": 27.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71096,
    "c": 0.08228,
    "h": 321.4
  },
  "luminance": 0.3454
}

Semantic roles & 50–950 ramp

primary
#BA91C1
secondary
#D1DFCF
accent
#A73F4E
background
#FCFAFC
surface
#F9F5F9
border
#D2CFD2
text
#141014
muted
#827F82

Preview Lab

Preview with #BA91C1

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

Preview Lab → · Contrast checker → · Palette generator →

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