#BA29B3#BA29B3

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

Color values

HEX#BA29B3
RGBrgb(186, 41, 179)
HSLhsl(303, 64%, 45%)
HSVhsv(303, 78%, 73%)
CMYKcmyk(0%, 78%, 3.8%, 27.1%)
CIE-LABlab(46.02, 69.98, -40.99)
CIE-LCHlch(46.02, 81.10, 329.64°)
OKLaboklab(56.5% 0.1986 -0.1133)
OKLCHoklch(56.5% 0.229 330.3)
XYZxyz(29.1792, 15.2820, 44.0520)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29B3 #29BA30
analogous
#7929BA #BA29B3 #BA296A
triadic
#BA29B3 #B3BA29 #29B3BA
tetradic
#BA29B3 #BA7929 #29BA30 #296ABA
square
#BA29B3 #BA7929 #29BA30 #296ABA
split-complementary
#BA29B3 #6ABA29 #29BA79
monochromatic
#561352 #881E83 #BA29B3 #D749D0 #E27BDD

Accessibility & contrast

On white

5.18
#BA29B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA29B3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29B3#FFFFFF#000000##FFFFFF
##BA29B31.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1161B7
Deuteranopia (green-blind)
#5874B0
Tritanopia (blue-blind)
#C13E6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba29b3;
/* rgb */ color: rgb(186, 41, 179);
/* oklch */ color: oklch(56.5% 0.229 330.3);
Tailwind
colors: {
  custom: {
    50: '#d374ca',
    500: '#ba29b3',
    950: '#000000',
  },
}
SCSS
$custom: #ba29b3;
$custom-light: #d374ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29b3",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 302.897,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56502,
    "c": 0.22859,
    "h": 330.3
  },
  "luminance": 0.1528
}

Semantic roles & 50–950 ramp

primary
#BA29B3
secondary
#75CA79
accent
#E74941
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BA29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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