#BA8BBD#BA8BBD

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

Color values

HEX#BA8BBD
RGBrgb(186, 139, 189)
HSLhsl(296, 27%, 64%)
HSVhsv(296, 26%, 74%)
CMYKcmyk(1.6%, 26.5%, 0%, 25.9%)
CIE-LABlab(63.82, 26.44, -19.10)
CIE-LCHlch(63.82, 32.61, 324.16°)
OKLaboklab(69.85% 0.0723 -0.0516)
OKLCHoklch(69.85% 0.089 324.5)
XYZxyz(38.6666, 32.5795, 52.3859)
Luminance0.3258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8BBD #8EBD8B
analogous
#A18BBD #BA8BBD #BD8BA7
triadic
#BA8BBD #BDBA8B #8BBDBA
tetradic
#BA8BBD #BDA18B #8EBD8B #8BA7BD
square
#BA8BBD #BDA18B #8EBD8B #8BA7BD
split-complementary
#BA8BBD #A7BD8B #8BBDA1
monochromatic
#804B83 #A364A7 #BA8BBD #D1B2D3 #E8D9E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA8BBD#FFFFFF#000000##000000
##BA8BBD1.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)
#8797BF
Deuteranopia (green-blind)
#929DBB
Tritanopia (blue-blind)
#BC909D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba8bbd;
/* rgb */ color: rgb(186, 139, 189);
/* oklch */ color: oklch(69.8% 0.089 324.5);
Tailwind
colors: {
  custom: {
    50: '#cfadd1',
    500: '#ba8bbd',
    950: '#000000',
  },
}
SCSS
$custom: #ba8bbd;
$custom-light: #cfadd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8bbd",
  "rgb": {
    "r": 186,
    "g": 139,
    "b": 189
  },
  "hsl": {
    "h": 296.4,
    "s": 27.473,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69847,
    "c": 0.08886,
    "h": 324.5
  },
  "luminance": 0.32578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA8BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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