#BA8ABA#BA8ABA

#BA8ABA is a light, moderate purple. Relative luminance 0.322; OKLCH L 69.6% C 0.088 H 326.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#BA8ABA
RGBrgb(186, 138, 186)
HSLhsl(300, 26%, 64%)
HSVhsv(300, 26%, 73%)
CMYKcmyk(0%, 25.8%, 0%, 27.1%)
CIE-LABlab(63.48, 26.42, -17.93)
CIE-LCHlch(63.48, 31.92, 325.84°)
OKLaboklab(69.55% 0.073 -0.0484)
OKLCHoklch(69.55% 0.088 326.5)
XYZxyz(38.2002, 32.1624, 50.6405)
Luminance0.3216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8ABA #8ABA8A
analogous
#A28ABA #BA8ABA #BA8AA2
triadic
#BA8ABA #BABA8A #8ABABA
tetradic
#BA8ABA #BAA28A #8ABA8A #8AA2BA
square
#BA8ABA #BAA28A #8ABA8A #8AA2BA
split-complementary
#BA8ABA #A2BA8A #8ABAA2
monochromatic
#7F4B7F #A364A3 #BA8ABA #D1B0D1 #E7D7E7

Accessibility & contrast

On white

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

On black

7.43
#BA8ABA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8ABA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8ABA#FFFFFF#000000##000000
##BA8ABA1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8796BC
Deuteranopia (green-blind)
#929CB8
Tritanopia (blue-blind)
#BD8E9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba8aba;
/* rgb */ color: rgb(186, 138, 186);
/* oklch */ color: oklch(69.6% 0.088 326.5);
Tailwind
colors: {
  custom: {
    50: '#cfacce',
    500: '#ba8aba',
    950: '#000000',
  },
}
SCSS
$custom: #ba8aba;
$custom-light: #cfacce;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8aba",
  "rgb": {
    "r": 186,
    "g": 138,
    "b": 186
  },
  "hsl": {
    "h": 300,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69551,
    "c": 0.08754,
    "h": 326.5
  },
  "luminance": 0.32161
}

Semantic roles & 50–950 ramp

primary
#BA8ABA
secondary
#C7D8C7
accent
#A44141
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141013
muted
#827F82

Preview Lab

Preview with #BA8ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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