#BA89CB#BA89CB

#BA89CB is a light, moderate purple. Relative luminance 0.326; OKLCH L 70.1% C 0.108 H 317.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#BA89CB
RGBrgb(186, 137, 203)
HSLhsl(285, 39%, 67%)
HSVhsv(285, 33%, 80%)
CMYKcmyk(8.4%, 32.5%, 0%, 20.4%)
CIE-LABlab(63.87, 30.34, -26.88)
CIE-LCHlch(63.87, 40.53, 318.46°)
OKLaboklab(70.06% 0.0793 -0.0735)
OKLCHoklch(70.06% 0.108 317.2)
XYZxyz(39.9733, 32.6431, 60.6834)
Luminance0.3264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA89CB #9ACB89
analogous
#9989CB #BA89CB #CB89BB
triadic
#BA89CB #CBBA89 #89CBBA
tetradic
#BA89CB #CB9989 #9ACB89 #89BBCB
square
#BA89CB #CB9989 #9ACB89 #89BBCB
split-complementary
#BA89CB #BBCB89 #89CB99
monochromatic
#814397 #A15FB8 #BA89CB #D3B3DE #ECDEF0

Accessibility & contrast

On white

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

On black

7.53
#BA89CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA89CB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA89CB#FFFFFF#000000##000000
##BA89CB1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CE
Deuteranopia (green-blind)
#8B9CC9
Tritanopia (blue-blind)
#BA91A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba89cb;
/* rgb */ color: rgb(186, 137, 203);
/* oklch */ color: oklch(70.1% 0.108 317.2);
Tailwind
colors: {
  custom: {
    50: '#cfacdb',
    500: '#ba89cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba89cb;
$custom-light: #cfacdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba89cb",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 203
  },
  "hsl": {
    "h": 284.545,
    "s": 38.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70058,
    "c": 0.10813,
    "h": 317.2
  },
  "luminance": 0.32642
}

Semantic roles & 50–950 ramp

primary
#BA89CB
secondary
#D3E3CD
accent
#B23454
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA89CB

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

Preview Lab → · Contrast checker → · Palette generator →

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