#BA89CA#BA89CA

#BA89CA is a light, moderate purple. Relative luminance 0.326; OKLCH L 70.0% C 0.107 H 317.6°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#BA89CA
RGBrgb(186, 137, 202)
HSLhsl(285, 38%, 66%)
HSVhsv(285, 32%, 79%)
CMYKcmyk(7.9%, 32.2%, 0%, 20.8%)
CIE-LABlab(63.83, 30.14, -26.38)
CIE-LCHlch(63.83, 40.05, 318.80°)
OKLaboklab(70.02% 0.0791 -0.0721)
OKLCHoklch(70.02% 0.107 317.6)
XYZxyz(39.8545, 32.5956, 60.0578)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA89CA #99CA89
analogous
#9A89CA #BA89CA #CA89BA
triadic
#BA89CA #CABA89 #89CABA
tetradic
#BA89CA #CA9A89 #99CA89 #89BACA
square
#BA89CA #CA9A89 #99CA89 #89BACA
split-complementary
#BA89CA #BACA89 #89CA9A
monochromatic
#814395 #A15FB7 #BA89CA #D3B3DD #EBDDF0

Accessibility & contrast

On white

2.79
#BA89CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#BA89CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA89CA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA89CA#FFFFFF#000000##000000
##BA89CA1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8097CD
Deuteranopia (green-blind)
#8C9CC8
Tritanopia (blue-blind)
#BA91A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba89ca;
/* rgb */ color: rgb(186, 137, 202);
/* oklch */ color: oklch(70.0% 0.107 317.6);
Tailwind
colors: {
  custom: {
    50: '#cfacda',
    500: '#ba89ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba89ca;
$custom-light: #cfacda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba89ca",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 202
  },
  "hsl": {
    "h": 285.231,
    "s": 38.012,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70016,
    "c": 0.10698,
    "h": 317.6
  },
  "luminance": 0.32595
}

Semantic roles & 50–950 ramp

primary
#BA89CA
secondary
#D2E2CD
accent
#B13553
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141015
muted
#827F83

Preview Lab

Preview with #BA89CA

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

Preview Lab → · Contrast checker → · Palette generator →

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