#BA29A5#BA29A5

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

Color values

HEX#BA29A5
RGBrgb(186, 41, 165)
HSLhsl(309, 64%, 45%)
HSVhsv(309, 78%, 73%)
CMYKcmyk(0%, 78%, 11.3%, 27.1%)
CIE-LABlab(45.28, 67.89, -33.87)
CIE-LCHlch(45.28, 75.87, 333.49°)
OKLaboklab(55.74% 0.1982 -0.0927)
OKLCHoklch(55.74% 0.219 334.9)
XYZxyz(27.8345, 14.7441, 36.9700)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29A5 #29BA3E
analogous
#8729BA #BA29A5 #BA295C
triadic
#BA29A5 #A5BA29 #29A5BA
tetradic
#BA29A5 #BA8729 #29BA3E #295CBA
square
#BA29A5 #BA8729 #29BA3E #295CBA
split-complementary
#BA29A5 #5CBA29 #29BA87
monochromatic
#56134C #881E79 #BA29A5 #D749C2 #E27BD3

Accessibility & contrast

On white

5.32
#BA29A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BA29A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29A5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29A5#FFFFFF#000000##FFFFFF
##BA29A51.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA8
Deuteranopia (green-blind)
#5F73A2
Tritanopia (blue-blind)
#C33766
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba29a5;
/* rgb */ color: rgb(186, 41, 165);
/* oklch */ color: oklch(55.7% 0.219 334.9);
Tailwind
colors: {
  custom: {
    50: '#d374c0',
    500: '#ba29a5',
    950: '#000000',
  },
}
SCSS
$custom: #ba29a5;
$custom-light: #d374c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29a5",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 308.69,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55738,
    "c": 0.21878,
    "h": 334.9
  },
  "luminance": 0.14742
}

Semantic roles & 50–950 ramp

primary
#BA29A5
secondary
#75CA81
accent
#E75941
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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