#BA91C2#BA91C2

#BA91C2 is a light, moderate purple. Relative luminance 0.346; OKLCH L 71.1% C 0.083 H 320.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#BA91C2
RGBrgb(186, 145, 194)
HSLhsl(290, 29%, 66%)
HSVhsv(290, 25%, 76%)
CMYKcmyk(4.1%, 25.3%, 0%, 23.9%)
CIE-LABlab(65.42, 24.07, -19.46)
CIE-LCHlch(65.42, 30.96, 321.05°)
OKLaboklab(71.14% 0.0647 -0.0527)
OKLCHoklch(71.14% 0.083 320.8)
XYZxyz(40.1114, 34.5858, 55.5912)
Luminance0.3458 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91C2 #99C291
analogous
#A291C2 #BA91C2 #C291B2
triadic
#BA91C2 #C2BA91 #91C2BA
tetradic
#BA91C2 #C2A291 #99C291 #91B2C2
square
#BA91C2 #C2A291 #99C291 #91B2C2
split-complementary
#BA91C2 #B2C291 #91C2A2
monochromatic
#814D8B #A16AAC #BA91C2 #D3B8D8 #EBE0EE

Accessibility & contrast

On white

2.65
#BA91C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#BA91C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91C2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91C2#FFFFFF#000000##000000
##BA91C21.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba91c2;
/* rgb */ color: rgb(186, 145, 194);
/* oklch */ color: oklch(71.1% 0.083 320.8);
Tailwind
colors: {
  custom: {
    50: '#cfb1d4',
    500: '#ba91c2',
    950: '#000000',
  },
}
SCSS
$custom: #ba91c2;
$custom-light: #cfb1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91c2",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 194
  },
  "hsl": {
    "h": 290.204,
    "s": 28.655,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71135,
    "c": 0.0834,
    "h": 320.8
  },
  "luminance": 0.34585
}

Semantic roles & 50–950 ramp

primary
#BA91C2
secondary
#D2DFCF
accent
#A73E4F
background
#FCFAFD
surface
#F9F5FA
border
#D2CFD3
text
#141014
muted
#827F83

Preview Lab

Preview with #BA91C2

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

Preview Lab → · Contrast checker → · Palette generator →

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