#BA3AB5#BA3AB5

#BA3AB5 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.0% C 0.212 H 329.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA3AB5
RGBrgb(186, 58, 181)
HSLhsl(302, 52%, 48%)
HSVhsv(302, 69%, 73%)
CMYKcmyk(0%, 68.8%, 2.7%, 27.1%)
CIE-LABlab(48.01, 64.91, -39.01)
CIE-LCHlch(48.01, 75.73, 328.99°)
OKLaboklab(57.97% 0.1831 -0.1076)
OKLCHoklch(57.97% 0.212 329.6)
XYZxyz(30.1030, 16.8036, 45.3650)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AB5 #3ABA3F
analogous
#7F3ABA #BA3AB5 #BA3A75
triadic
#BA3AB5 #B5BA3A #3AB5BA
tetradic
#BA3AB5 #BA7F3A #3ABA3F #3A75BA
square
#BA3AB5 #BA7F3A #3ABA3F #3A75BA
split-complementary
#BA3AB5 #75BA3A #3ABA7F
monochromatic
#5D1D5A #8B2B88 #BA3AB5 #CE63CA #DD92DA

Accessibility & contrast

On white

4.82
#BA3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BA3AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3AB5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AB5#FFFFFF#000000##FFFFFF
##BA3AB51.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B67B8
Deuteranopia (green-blind)
#5E78B2
Tritanopia (blue-blind)
#C14A73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3ab5;
/* rgb */ color: rgb(186, 58, 181);
/* oklch */ color: oklch(58.0% 0.212 329.6);
Tailwind
colors: {
  custom: {
    50: '#d27bcb',
    500: '#ba3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ab5;
$custom-light: #d27bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ab5",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 302.344,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57966,
    "c": 0.21243,
    "h": 329.6
  },
  "luminance": 0.16801
}

Semantic roles & 50–950 ramp

primary
#BA3AB5
secondary
#88C88A
accent
#DC524C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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