#BA29A9#BA29A9

#BA29A9 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.222 H 333.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BA29A9
RGBrgb(186, 41, 169)
HSLhsl(307, 64%, 45%)
HSVhsv(307, 78%, 73%)
CMYKcmyk(0%, 78%, 9.1%, 27.1%)
CIE-LABlab(45.49, 68.47, -35.93)
CIE-LCHlch(45.49, 77.33, 332.32°)
OKLaboklab(55.95% 0.1984 -0.0986)
OKLCHoklch(55.95% 0.222 333.6)
XYZxyz(28.2043, 14.8920, 38.9174)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29A9 #29BA3A
analogous
#8229BA #BA29A9 #BA2961
triadic
#BA29A9 #A9BA29 #29A9BA
tetradic
#BA29A9 #BA8229 #29BA3A #2961BA
square
#BA29A9 #BA8229 #29BA3A #2961BA
split-complementary
#BA29A9 #61BA29 #29BA82
monochromatic
#56134E #881E7B #BA29A9 #D749C6 #E27BD6

Accessibility & contrast

On white

5.28
#BA29A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BA29A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29A9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29A9#FFFFFF#000000##FFFFFF
##BA29A91.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235EAC
Deuteranopia (green-blind)
#5D73A6
Tritanopia (blue-blind)
#C33968
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba29a9;
/* rgb */ color: rgb(186, 41, 169);
/* oklch */ color: oklch(56.0% 0.222 333.6);
Tailwind
colors: {
  custom: {
    50: '#d374c3',
    500: '#ba29a9',
    950: '#000000',
  },
}
SCSS
$custom: #ba29a9;
$custom-light: #d374c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29a9",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 307.034,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5595,
    "c": 0.22154,
    "h": 333.6
  },
  "luminance": 0.1489
}

Semantic roles & 50–950 ramp

primary
#BA29A9
secondary
#75CA7F
accent
#E75441
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BA29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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