#BA29AC#BA29AC

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

Color values

HEX#BA29AC
RGBrgb(186, 41, 172)
HSLhsl(306, 64%, 45%)
HSVhsv(306, 78%, 73%)
CMYKcmyk(0%, 78%, 7.5%, 27.1%)
CIE-LABlab(45.64, 68.92, -37.46)
CIE-LCHlch(45.64, 78.44, 331.48°)
OKLaboklab(56.11% 0.1985 -0.103)
OKLCHoklch(56.11% 0.224 332.6)
XYZxyz(28.4892, 15.0060, 40.4177)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29AC #29BA37
analogous
#8029BA #BA29AC #BA2964
triadic
#BA29AC #ACBA29 #29ACBA
tetradic
#BA29AC #BA8029 #29BA37 #2964BA
square
#BA29AC #BA8029 #29BA37 #2964BA
split-complementary
#BA29AC #64BA29 #29BA80
monochromatic
#56134F #881E7E #BA29AC #D749C9 #E27BD8

Accessibility & contrast

On white

5.25
#BA29AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA29AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29AC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29AC#FFFFFF#000000##FFFFFF
##BA29AC1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5FAF
Deuteranopia (green-blind)
#5B73A9
Tritanopia (blue-blind)
#C23B6A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba29ac;
/* rgb */ color: rgb(186, 41, 172);
/* oklch */ color: oklch(56.1% 0.224 332.6);
Tailwind
colors: {
  custom: {
    50: '#d374c5',
    500: '#ba29ac',
    950: '#000000',
  },
}
SCSS
$custom: #ba29ac;
$custom-light: #d374c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29ac",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 305.793,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56113,
    "c": 0.22363,
    "h": 332.6
  },
  "luminance": 0.15004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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