#BA89BB#BA89BB

#BA89BB is a light, moderate purple. Relative luminance 0.319; OKLCH L 69.4% C 0.090 H 325.8°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#BA89BB
RGBrgb(186, 137, 187)
HSLhsl(299, 27%, 64%)
HSVhsv(299, 27%, 73%)
CMYKcmyk(0.5%, 26.7%, 0%, 26.7%)
CIE-LABlab(63.28, 27.16, -18.80)
CIE-LCHlch(63.28, 33.03, 325.32°)
OKLaboklab(69.41% 0.0748 -0.0508)
OKLCHoklch(69.41% 0.09 325.8)
XYZxyz(38.1641, 31.9194, 51.1548)
Luminance0.3192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA89BB #8ABB89
analogous
#A189BB #BA89BB #BB89A3
triadic
#BA89BB #BBBA89 #89BBBA
tetradic
#BA89BB #BBA189 #8ABB89 #89A3BB
square
#BA89BB #BBA189 #8ABB89 #89A3BB
split-complementary
#BA89BB #A3BB89 #89BBA1
monochromatic
#7F4A80 #A362A5 #BA89BB #D1B0D1 #E7D7E8

Accessibility & contrast

On white

2.84
#BA89BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#BA89BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA89BB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA89BB#FFFFFF#000000##000000
##BA89BB1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8595BD
Deuteranopia (green-blind)
#919BB9
Tritanopia (blue-blind)
#BD8D9B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba89bb;
/* rgb */ color: rgb(186, 137, 187);
/* oklch */ color: oklch(69.4% 0.090 325.8);
Tailwind
colors: {
  custom: {
    50: '#cfaccf',
    500: '#ba89bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba89bb;
$custom-light: #cfaccf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba89bb",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 187
  },
  "hsl": {
    "h": 298.8,
    "s": 26.882,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69409,
    "c": 0.09042,
    "h": 325.8
  },
  "luminance": 0.31918
}

Semantic roles & 50–950 ramp

primary
#BA89BB
secondary
#C7D9C7
accent
#A54042
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141013
muted
#827F82

Preview Lab

Preview with #BA89BB

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

Preview Lab → · Contrast checker → · Palette generator →

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