#BA89BF#BA89BF

#BA89BF is a light, moderate purple. Relative luminance 0.321; OKLCH L 69.6% C 0.095 H 323.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#BA89BF
RGBrgb(186, 137, 191)
HSLhsl(294, 30%, 64%)
HSVhsv(294, 28%, 75%)
CMYKcmyk(2.6%, 28.3%, 0%, 25.1%)
CIE-LABlab(63.42, 27.94, -20.83)
CIE-LCHlch(63.42, 34.85, 323.29°)
OKLaboklab(69.57% 0.076 -0.0565)
OKLCHoklch(69.57% 0.095 323.4)
XYZxyz(38.5982, 32.0931, 53.4414)
Luminance0.3209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA89BF #8EBF89
analogous
#9F89BF #BA89BF #BF89A9
triadic
#BA89BF #BFBA89 #89BFBA
tetradic
#BA89BF #BF9F89 #8EBF89 #89A9BF
square
#BA89BF #BF9F89 #8EBF89 #89A9BF
split-complementary
#BA89BF #A9BF89 #89BF9F
monochromatic
#804885 #A361A9 #BA89BF #D1B1D5 #E8D8EA

Accessibility & contrast

On white

2.83
#BA89BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#BA89BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA89BF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA89BF#FFFFFF#000000##000000
##BA89BF1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8496C1
Deuteranopia (green-blind)
#909CBD
Tritanopia (blue-blind)
#BC8E9C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba89bf;
/* rgb */ color: rgb(186, 137, 191);
/* oklch */ color: oklch(69.6% 0.095 323.4);
Tailwind
colors: {
  custom: {
    50: '#cfacd2',
    500: '#ba89bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba89bf;
$custom-light: #cfacd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba89bf",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 191
  },
  "hsl": {
    "h": 294.444,
    "s": 29.67,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69566,
    "c": 0.09468,
    "h": 323.4
  },
  "luminance": 0.32092
}

Semantic roles & 50–950 ramp

primary
#BA89BF
secondary
#CADBC9
accent
#A83D47
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141014
muted
#827F82

Preview Lab

Preview with #BA89BF

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

Preview Lab → · Contrast checker → · Palette generator →

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