#BA3AA5#BA3AA5

#BA3AA5 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.1% C 0.200 H 335.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA3AA5
RGBrgb(186, 58, 165)
HSLhsl(310, 52%, 48%)
HSVhsv(310, 69%, 73%)
CMYKcmyk(0%, 68.8%, 11.3%, 27.1%)
CIE-LABlab(47.22, 62.39, -30.84)
CIE-LCHlch(47.22, 69.60, 333.70°)
OKLaboklab(57.13% 0.1819 -0.0841)
OKLCHoklch(57.13% 0.2 335.2)
XYZxyz(28.5546, 16.1843, 37.2100)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AA5 #3ABA4F
analogous
#8F3ABA #BA3AA5 #BA3A65
triadic
#BA3AA5 #A5BA3A #3AA5BA
tetradic
#BA3AA5 #BA8F3A #3ABA4F #3A65BA
square
#BA3AA5 #BA8F3A #3ABA4F #3A65BA
split-complementary
#BA3AA5 #65BA3A #3ABA8F
monochromatic
#5D1D52 #8B2B7C #BA3AA5 #CE63BD #DD92D1

Accessibility & contrast

On white

4.96
#BA3AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#BA3AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3AA5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AA5#FFFFFF#000000##FFFFFF
##BA3AA51.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A8
Deuteranopia (green-blind)
#6577A2
Tritanopia (blue-blind)
#C3436B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba3aa5;
/* rgb */ color: rgb(186, 58, 165);
/* oklch */ color: oklch(57.1% 0.200 335.2);
Tailwind
colors: {
  custom: {
    50: '#d27bc0',
    500: '#ba3aa5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3aa5;
$custom-light: #d27bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3aa5",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 309.844,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.20043,
    "h": 335.2
  },
  "luminance": 0.16182
}

Semantic roles & 50–950 ramp

primary
#BA3AA5
secondary
#88C892
accent
#DC644C
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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