#BA91CB#BA91CB

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

Color values

HEX#BA91CB
RGBrgb(186, 145, 203)
HSLhsl(282, 36%, 68%)
HSVhsv(282, 29%, 80%)
CMYKcmyk(8.4%, 28.6%, 0%, 20.4%)
CIE-LABlab(65.75, 25.89, -23.99)
CIE-LCHlch(65.75, 35.30, 317.17°)
OKLaboklab(71.49% 0.0673 -0.0654)
OKLCHoklch(71.49% 0.094 315.8)
XYZxyz(41.1530, 35.0024, 61.0766)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91CB #A2CB91
analogous
#9D91CB #BA91CB #CB91BF
triadic
#BA91CB #CBBA91 #91CBBA
tetradic
#BA91CB #CB9D91 #A2CB91 #91BFCB
square
#BA91CB #CB9D91 #A2CB91 #91BFCB
split-complementary
#BA91CB #BFCB91 #91CB9D
monochromatic
#824899 #A067B7 #BA91CB #D4BBDF #EEE4F2

Accessibility & contrast

On white

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

On black

8.00
#BA91CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91CB
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91CB#FFFFFF#000000##000000
##BA91CB1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba91cb;
/* rgb */ color: rgb(186, 145, 203);
/* oklch */ color: oklch(71.5% 0.094 315.8);
Tailwind
colors: {
  custom: {
    50: '#cfb1db',
    500: '#ba91cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba91cb;
$custom-light: #cfb1db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91cb",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 203
  },
  "hsl": {
    "h": 282.414,
    "s": 35.802,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71492,
    "c": 0.09384,
    "h": 315.8
  },
  "luminance": 0.35002
}

Semantic roles & 50–950 ramp

primary
#BA91CB
secondary
#D8E5D3
accent
#AF375A
background
#FCFAFD
surface
#F9F5FB
border
#D2CFD4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA91CB

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

Preview Lab → · Contrast checker → · Palette generator →

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