#BA89BD#BA89BD

#BA89BD is a light, moderate purple. Relative luminance 0.320; OKLCH L 69.5% C 0.093 H 324.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#BA89BD
RGBrgb(186, 137, 189)
HSLhsl(297, 28%, 64%)
HSVhsv(297, 28%, 74%)
CMYKcmyk(1.6%, 27.5%, 0%, 25.9%)
CIE-LABlab(63.35, 27.55, -19.81)
CIE-LCHlch(63.35, 33.94, 324.27°)
OKLaboklab(69.49% 0.0754 -0.0536)
OKLCHoklch(69.49% 0.093 324.6)
XYZxyz(38.3797, 32.0057, 52.2902)
Luminance0.3201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA89BD #8CBD89
analogous
#A089BD #BA89BD #BD89A6
triadic
#BA89BD #BDBA89 #89BDBA
tetradic
#BA89BD #BDA089 #8CBD89 #89A6BD
square
#BA89BD #BDA089 #8CBD89 #89A6BD
split-complementary
#BA89BD #A6BD89 #89BDA0
monochromatic
#7F4983 #A362A7 #BA89BD #D1B0D3 #E8D7E9

Accessibility & contrast

On white

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

On black

7.40
#BA89BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA89BD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA89BD#FFFFFF#000000##000000
##BA89BD1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8596BF
Deuteranopia (green-blind)
#909BBB
Tritanopia (blue-blind)
#BD8E9B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba89bd;
/* rgb */ color: rgb(186, 137, 189);
/* oklch */ color: oklch(69.5% 0.093 324.6);
Tailwind
colors: {
  custom: {
    50: '#cfacd1',
    500: '#ba89bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba89bd;
$custom-light: #cfacd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba89bd",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 189
  },
  "hsl": {
    "h": 296.538,
    "s": 28.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69487,
    "c": 0.09252,
    "h": 324.6
  },
  "luminance": 0.32005
}

Semantic roles & 50–950 ramp

primary
#BA89BD
secondary
#C9DAC8
accent
#A73F45
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141014
muted
#827F82

Preview Lab

Preview with #BA89BD

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

Preview Lab → · Contrast checker → · Palette generator →

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