#BA29AD#BA29AD

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

Color values

HEX#BA29AD
RGBrgb(186, 41, 173)
HSLhsl(305, 64%, 45%)
HSVhsv(305, 78%, 73%)
CMYKcmyk(0%, 78%, 7%, 27.1%)
CIE-LABlab(45.70, 69.07, -37.97)
CIE-LCHlch(45.70, 78.82, 331.20°)
OKLaboklab(56.17% 0.1985 -0.1045)
OKLCHoklch(56.17% 0.224 332.2)
XYZxyz(28.5856, 15.0445, 40.9254)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29AD #29BA36
analogous
#7E29BA #BA29AD #BA2965
triadic
#BA29AD #ADBA29 #29ADBA
tetradic
#BA29AD #BA7E29 #29BA36 #2965BA
square
#BA29AD #BA7E29 #29BA36 #2965BA
split-complementary
#BA29AD #65BA29 #29BA7E
monochromatic
#561350 #881E7E #BA29AD #D749CA #E27BD9

Accessibility & contrast

On white

5.24
#BA29AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA29AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29AD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29AD#FFFFFF#000000##FFFFFF
##BA29AD1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba29ad;
/* rgb */ color: rgb(186, 41, 173);
/* oklch */ color: oklch(56.2% 0.224 332.2);
Tailwind
colors: {
  custom: {
    50: '#d374c6',
    500: '#ba29ad',
    950: '#000000',
  },
}
SCSS
$custom: #ba29ad;
$custom-light: #d374c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29ad",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 305.379,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.22432,
    "h": 332.2
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#BA29AD
secondary
#75CA7C
accent
#E75041
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BA29AD

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

Preview Lab → · Contrast checker → · Palette generator →

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