#BA29A4#BA29A4

#BA29A4 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.218 H 335.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BA29A4
RGBrgb(186, 41, 164)
HSLhsl(309, 64%, 45%)
HSVhsv(309, 78%, 73%)
CMYKcmyk(0%, 78%, 11.8%, 27.1%)
CIE-LABlab(45.23, 67.75, -33.35)
CIE-LCHlch(45.23, 75.51, 333.79°)
OKLaboklab(55.69% 0.1981 -0.0912)
OKLCHoklch(55.69% 0.218 335.3)
XYZxyz(27.7439, 14.7079, 36.4925)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29A4 #29BA3F
analogous
#8729BA #BA29A4 #BA295C
triadic
#BA29A4 #A4BA29 #29A4BA
tetradic
#BA29A4 #BA8729 #29BA3F #295CBA
square
#BA29A4 #BA8729 #29BA3F #295CBA
split-complementary
#BA29A4 #5CBA29 #29BA87
monochromatic
#56134C #881E78 #BA29A4 #D749C1 #E27BD2

Accessibility & contrast

On white

5.33
#BA29A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BA29A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29A4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29A4#FFFFFF#000000##FFFFFF
##BA29A41.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA7
Deuteranopia (green-blind)
#5F73A1
Tritanopia (blue-blind)
#C33665
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba29a4;
/* rgb */ color: rgb(186, 41, 164);
/* oklch */ color: oklch(55.7% 0.218 335.3);
Tailwind
colors: {
  custom: {
    50: '#d374bf',
    500: '#ba29a4',
    950: '#000000',
  },
}
SCSS
$custom: #ba29a4;
$custom-light: #d374bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29a4",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 309.103,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.2181,
    "h": 335.3
  },
  "luminance": 0.14705
}

Semantic roles & 50–950 ramp

primary
#BA29A4
secondary
#75CA82
accent
#E75A41
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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