#BA8BBB#BA8BBB

#BA8BBB is a light, moderate purple. Relative luminance 0.325; OKLCH L 69.8% C 0.087 H 325.8°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#BA8BBB
RGBrgb(186, 139, 187)
HSLhsl(299, 26%, 64%)
HSVhsv(299, 26%, 73%)
CMYKcmyk(0.5%, 25.7%, 0%, 26.7%)
CIE-LABlab(63.75, 26.05, -18.08)
CIE-LCHlch(63.75, 31.71, 325.24°)
OKLaboklab(69.77% 0.0717 -0.0488)
OKLCHoklch(69.77% 0.087 325.8)
XYZxyz(38.4510, 32.4933, 51.2504)
Luminance0.3249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8BBB #8CBB8B
analogous
#A28BBB #BA8BBB #BB8BA4
triadic
#BA8BBB #BBBA8B #8BBBBA
tetradic
#BA8BBB #BBA28B #8CBB8B #8BA4BB
square
#BA8BBB #BBA28B #8CBB8B #8BA4BB
split-complementary
#BA8BBB #A4BB8B #8BBBA2
monochromatic
#7F4B80 #A364A4 #BA8BBB #D1B2D2 #E8D8E8

Accessibility & contrast

On white

2.80
#BA8BBB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#BA8BBB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8BBB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8BBB#FFFFFF#000000##000000
##BA8BBB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8897BD
Deuteranopia (green-blind)
#929CB9
Tritanopia (blue-blind)
#BD8F9C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba8bbb;
/* rgb */ color: rgb(186, 139, 187);
/* oklch */ color: oklch(69.8% 0.087 325.8);
Tailwind
colors: {
  custom: {
    50: '#cfadcf',
    500: '#ba8bbb',
    950: '#000000',
  },
}
SCSS
$custom: #ba8bbb;
$custom-light: #cfadcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8bbb",
  "rgb": {
    "r": 186,
    "g": 139,
    "b": 187
  },
  "hsl": {
    "h": 298.75,
    "s": 26.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6977,
    "c": 0.08675,
    "h": 325.8
  },
  "luminance": 0.32492
}

Semantic roles & 50–950 ramp

primary
#BA8BBB
secondary
#C9D9C8
accent
#A54143
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141013
muted
#827F82

Preview Lab

Preview with #BA8BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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