#BA91CC#BA91CC

#BA91CC is a light, moderate purple. Relative luminance 0.350; OKLCH L 71.5% C 0.095 H 315.3°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#BA91CC
RGBrgb(186, 145, 204)
HSLhsl(282, 37%, 68%)
HSVhsv(282, 29%, 80%)
CMYKcmyk(8.8%, 28.9%, 0%, 20%)
CIE-LABlab(65.79, 26.09, -24.49)
CIE-LCHlch(65.79, 35.79, 316.81°)
OKLaboklab(71.53% 0.0676 -0.0668)
OKLCHoklch(71.53% 0.095 315.3)
XYZxyz(41.2725, 35.0503, 61.7062)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91CC #A3CC91
analogous
#9C91CC #BA91CC #CC91C0
triadic
#BA91CC #CCBA91 #91CCBA
tetradic
#BA91CC #CC9C91 #A3CC91 #91C0CC
square
#BA91CC #CC9C91 #A3CC91 #91C0CC
split-complementary
#BA91CC #C0CC91 #91CC9C
monochromatic
#81489B #A067B9 #BA91CC #D4BBDF #EEE5F3

Accessibility & contrast

On white

2.62
#BA91CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#BA91CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91CC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91CC#FFFFFF#000000##000000
##BA91CC1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#899DCE
Deuteranopia (green-blind)
#92A1CA
Tritanopia (blue-blind)
#B998A6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba91cc;
/* rgb */ color: rgb(186, 145, 204);
/* oklch */ color: oklch(71.5% 0.095 315.3);
Tailwind
colors: {
  custom: {
    50: '#cfb1db',
    500: '#ba91cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba91cc;
$custom-light: #cfb1db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91cc",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 204
  },
  "hsl": {
    "h": 281.695,
    "s": 36.646,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71532,
    "c": 0.09503,
    "h": 315.3
  },
  "luminance": 0.3505
}

Semantic roles & 50–950 ramp

primary
#BA91CC
secondary
#D9E5D4
accent
#B0365B
background
#FCFAFD
surface
#F9F5FB
border
#D2CFD4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA91CC

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

Preview Lab → · Contrast checker → · Palette generator →

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