#BA2AB0#BA2AB0

#BA2AB0 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.4% C 0.226 H 331.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BA2AB0
RGBrgb(186, 42, 176)
HSLhsl(304, 63%, 45%)
HSVhsv(304, 77%, 73%)
CMYKcmyk(0%, 77.4%, 5.4%, 27.1%)
CIE-LABlab(45.95, 69.25, -39.33)
CIE-LCHlch(45.95, 79.64, 330.40°)
OKLaboklab(56.4% 0.1978 -0.1085)
OKLCHoklch(56.4% 0.226 331.3)
XYZxyz(28.9141, 15.2320, 42.4831)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2AB0 #2ABA34
analogous
#7C2ABA #BA2AB0 #BA2A68
triadic
#BA2AB0 #B0BA2A #2AB0BA
tetradic
#BA2AB0 #BA7C2A #2ABA34 #2A68BA
square
#BA2AB0 #BA7C2A #2ABA34 #2A68BA
split-complementary
#BA2AB0 #68BA2A #2ABA7C
monochromatic
#561352 #881F81 #BA2AB0 #D64BCD #E27DDB

Accessibility & contrast

On white

5.19
#BA2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BA2AB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2AB0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2AB0#FFFFFF#000000##FFFFFF
##BA2AB01.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B4
Deuteranopia (green-blind)
#5A74AD
Tritanopia (blue-blind)
#C23D6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba2ab0;
/* rgb */ color: rgb(186, 42, 176);
/* oklch */ color: oklch(56.4% 0.226 331.3);
Tailwind
colors: {
  custom: {
    50: '#d375c8',
    500: '#ba2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #ba2ab0;
$custom-light: #d375c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2ab0",
  "rgb": {
    "r": 186,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 304.167,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56402,
    "c": 0.22554,
    "h": 331.3
  },
  "luminance": 0.1523
}

Semantic roles & 50–950 ramp

primary
#BA2AB0
secondary
#76CA7C
accent
#E64D42
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BA2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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