#BA29B4#BA29B4

#BA29B4 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.6% C 0.229 H 330.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA29B4
RGBrgb(186, 41, 180)
HSLhsl(302, 64%, 45%)
HSVhsv(302, 78%, 73%)
CMYKcmyk(0%, 78%, 3.2%, 27.1%)
CIE-LABlab(46.07, 70.13, -41.50)
CIE-LCHlch(46.07, 81.49, 329.39°)
OKLaboklab(56.56% 0.1985 -0.1147)
OKLCHoklch(56.56% 0.229 330)
XYZxyz(29.2807, 15.3226, 44.5866)
Luminance0.1532 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29B4 #29BA2F
analogous
#7829BA #BA29B4 #BA296B
triadic
#BA29B4 #B4BA29 #29B4BA
tetradic
#BA29B4 #BA7829 #29BA2F #296BBA
square
#BA29B4 #BA7829 #29BA2F #296BBA
split-complementary
#BA29B4 #6BBA29 #29BA78
monochromatic
#561353 #881E83 #BA29B4 #D749D1 #E27BDE

Accessibility & contrast

On white

5.17
#BA29B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BA29B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29B4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29B4#FFFFFF#000000##FFFFFF
##BA29B41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F61B8
Deuteranopia (green-blind)
#5774B1
Tritanopia (blue-blind)
#C13F6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba29b4;
/* rgb */ color: rgb(186, 41, 180);
/* oklch */ color: oklch(56.6% 0.229 330.0);
Tailwind
colors: {
  custom: {
    50: '#d374cb',
    500: '#ba29b4',
    950: '#000000',
  },
}
SCSS
$custom: #ba29b4;
$custom-light: #d374cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29b4",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 302.483,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56559,
    "c": 0.2293,
    "h": 330
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#BA29B4
secondary
#75CA78
accent
#E74841
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BA29B4

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

Preview Lab → · Contrast checker → · Palette generator →

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