#BA8ABC#BA8ABC

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

Color values

HEX#BA8ABC
RGBrgb(186, 138, 188)
HSLhsl(298, 27%, 64%)
HSVhsv(298, 27%, 74%)
CMYKcmyk(1.1%, 26.6%, 0%, 26.3%)
CIE-LABlab(63.55, 26.80, -18.95)
CIE-LCHlch(63.55, 32.82, 324.74°)
OKLaboklab(69.63% 0.0736 -0.0512)
OKLCHoklch(69.63% 0.09 325.2)
XYZxyz(38.4143, 32.2480, 51.7681)
Luminance0.3225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8ABC #8CBC8A
analogous
#A18ABC #BA8ABC #BC8AA5
triadic
#BA8ABC #BCBA8A #8ABCBA
tetradic
#BA8ABC #BCA18A #8CBC8A #8AA5BC
square
#BA8ABC #BCA18A #8CBC8A #8AA5BC
split-complementary
#BA8ABC #A5BC8A #8ABCA1
monochromatic
#7F4A81 #A363A6 #BA8ABC #D1B1D2 #E8D8E9

Accessibility & contrast

On white

2.82
#BA8ABC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#BA8ABC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8ABC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8ABC#FFFFFF#000000##000000
##BA8ABC1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8696BE
Deuteranopia (green-blind)
#919CBA
Tritanopia (blue-blind)
#BD8E9C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba8abc;
/* rgb */ color: rgb(186, 138, 188);
/* oklch */ color: oklch(69.6% 0.090 325.2);
Tailwind
colors: {
  custom: {
    50: '#cfacd0',
    500: '#ba8abc',
    950: '#000000',
  },
}
SCSS
$custom: #ba8abc;
$custom-light: #cfacd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8abc",
  "rgb": {
    "r": 186,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 297.6,
    "s": 27.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69628,
    "c": 0.08964,
    "h": 325.2
  },
  "luminance": 0.32247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA8ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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