#BA3AA9#BA3AA9

#BA3AA9 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.203 H 333.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA3AA9
RGBrgb(186, 58, 169)
HSLhsl(308, 52%, 48%)
HSVhsv(308, 69%, 73%)
CMYKcmyk(0%, 68.8%, 9.1%, 27.1%)
CIE-LABlab(47.41, 63.01, -32.90)
CIE-LCHlch(47.41, 71.08, 332.43°)
OKLaboklab(57.33% 0.1823 -0.09)
OKLCHoklch(57.33% 0.203 333.7)
XYZxyz(28.9244, 16.3322, 39.1575)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AA9 #3ABA4B
analogous
#8B3ABA #BA3AA9 #BA3A69
triadic
#BA3AA9 #A9BA3A #3AA9BA
tetradic
#BA3AA9 #BA8B3A #3ABA4B #3A69BA
square
#BA3AA9 #BA8B3A #3ABA4B #3A69BA
split-complementary
#BA3AA9 #69BA3A #3ABA8B
monochromatic
#5D1D54 #8B2B7F #BA3AA9 #CE63C0 #DD92D3

Accessibility & contrast

On white

4.92
#BA3AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BA3AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3AA9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AA9#FFFFFF#000000##FFFFFF
##BA3AA91.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3765AC
Deuteranopia (green-blind)
#6477A6
Tritanopia (blue-blind)
#C2456D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3aa9;
/* rgb */ color: rgb(186, 58, 169);
/* oklch */ color: oklch(57.3% 0.203 333.7);
Tailwind
colors: {
  custom: {
    50: '#d27bc3',
    500: '#ba3aa9',
    950: '#000000',
  },
}
SCSS
$custom: #ba3aa9;
$custom-light: #d27bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3aa9",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 169
  },
  "hsl": {
    "h": 307.969,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57333,
    "c": 0.20336,
    "h": 333.7
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#BA3AA9
secondary
#88C890
accent
#DC5F4C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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