#BA91CA#BA91CA

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

Color values

HEX#BA91CA
RGBrgb(186, 145, 202)
HSLhsl(283, 35%, 68%)
HSVhsv(283, 28%, 79%)
CMYKcmyk(7.9%, 28.2%, 0%, 20.8%)
CIE-LABlab(65.71, 25.68, -23.49)
CIE-LCHlch(65.71, 34.81, 317.55°)
OKLaboklab(71.45% 0.067 -0.064)
OKLCHoklch(71.45% 0.093 316.3)
XYZxyz(41.0342, 34.9549, 60.4510)
Luminance0.3495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91CA #A1CA91
analogous
#9D91CA #BA91CA #CA91BD
triadic
#BA91CA #CABA91 #91CABA
tetradic
#BA91CA #CA9D91 #A1CA91 #91BDCA
square
#BA91CA #CA9D91 #A1CA91 #91BDCA
split-complementary
#BA91CA #BDCA91 #91CA9D
monochromatic
#824998 #A068B6 #BA91CA #D4BADE #EEE4F2

Accessibility & contrast

On white

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

On black

7.99
#BA91CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91CA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91CA#FFFFFF#000000##000000
##BA91CA1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#899DCC
Deuteranopia (green-blind)
#92A1C8
Tritanopia (blue-blind)
#BA98A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba91ca;
/* rgb */ color: rgb(186, 145, 202);
/* oklch */ color: oklch(71.5% 0.093 316.3);
Tailwind
colors: {
  custom: {
    50: '#cfb1da',
    500: '#ba91ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba91ca;
$custom-light: #cfb1da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91ca",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 202
  },
  "hsl": {
    "h": 283.158,
    "s": 34.969,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71451,
    "c": 0.09266,
    "h": 316.3
  },
  "luminance": 0.34954
}

Semantic roles & 50–950 ramp

primary
#BA91CA
secondary
#D8E4D3
accent
#AE3859
background
#FCFAFD
surface
#F9F5FA
border
#D2CFD3
text
#141014
muted
#827F83

Preview Lab

Preview with #BA91CA

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

Preview Lab → · Contrast checker → · Palette generator →

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