#BA29AB#BA29AB

#BA29AB is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.223 H 332.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA29AB
RGBrgb(186, 41, 171)
HSLhsl(306, 64%, 45%)
HSVhsv(306, 78%, 73%)
CMYKcmyk(0%, 78%, 8.1%, 27.1%)
CIE-LABlab(45.59, 68.77, -36.95)
CIE-LCHlch(45.59, 78.07, 331.75°)
OKLaboklab(56.06% 0.1984 -0.1015)
OKLCHoklch(56.06% 0.223 332.9)
XYZxyz(28.3935, 14.9677, 39.9138)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29AB #29BA38
analogous
#8129BA #BA29AB #BA2963
triadic
#BA29AB #ABBA29 #29ABBA
tetradic
#BA29AB #BA8129 #29BA38 #2963BA
square
#BA29AB #BA8129 #29BA38 #2963BA
split-complementary
#BA29AB #63BA29 #29BA81
monochromatic
#56134F #881E7D #BA29AB #D749C8 #E27BD7

Accessibility & contrast

On white

5.26
#BA29AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA29AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29AB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29AB#FFFFFF#000000##FFFFFF
##BA29AB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAE
Deuteranopia (green-blind)
#5C73A8
Tritanopia (blue-blind)
#C23A69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba29ab;
/* rgb */ color: rgb(186, 41, 171);
/* oklch */ color: oklch(56.1% 0.223 332.9);
Tailwind
colors: {
  custom: {
    50: '#d374c4',
    500: '#ba29ab',
    950: '#000000',
  },
}
SCSS
$custom: #ba29ab;
$custom-light: #d374c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29ab",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 306.207,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56058,
    "c": 0.22292,
    "h": 332.9
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

primary
#BA29AB
secondary
#75CA7D
accent
#E75241
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BA29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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