#BA29AE#BA29AE

#BA29AE is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.225 H 331.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BA29AE
RGBrgb(186, 41, 174)
HSLhsl(305, 64%, 45%)
HSVhsv(305, 78%, 73%)
CMYKcmyk(0%, 78%, 6.5%, 27.1%)
CIE-LABlab(45.75, 69.22, -38.47)
CIE-LCHlch(45.75, 79.19, 330.93°)
OKLaboklab(56.22% 0.1985 -0.106)
OKLCHoklch(56.22% 0.225 331.9)
XYZxyz(28.6827, 15.0834, 41.4369)
Luminance0.1508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29AE #29BA35
analogous
#7E29BA #BA29AE #BA2965
triadic
#BA29AE #AEBA29 #29AEBA
tetradic
#BA29AE #BA7E29 #29BA35 #2965BA
square
#BA29AE #BA7E29 #29BA35 #2965BA
split-complementary
#BA29AE #65BA29 #29BA7E
monochromatic
#561350 #881E7F #BA29AE #D749CB #E27BDA

Accessibility & contrast

On white

5.23
#BA29AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BA29AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29AE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29AE#FFFFFF#000000##FFFFFF
##BA29AE1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5FB1
Deuteranopia (green-blind)
#5A73AB
Tritanopia (blue-blind)
#C23C6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba29ae;
/* rgb */ color: rgb(186, 41, 174);
/* oklch */ color: oklch(56.2% 0.225 331.9);
Tailwind
colors: {
  custom: {
    50: '#d374c6',
    500: '#ba29ae',
    950: '#000000',
  },
}
SCSS
$custom: #ba29ae;
$custom-light: #d374c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29ae",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 304.966,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56223,
    "c": 0.22503,
    "h": 331.9
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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