#BA29B6#BA29B6

#BA29B6 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.7% C 0.231 H 329.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA29B6
RGBrgb(186, 41, 182)
HSLhsl(302, 64%, 45%)
HSVhsv(302, 78%, 73%)
CMYKcmyk(0%, 78%, 2.2%, 27.1%)
CIE-LABlab(46.18, 70.44, -42.49)
CIE-LCHlch(46.18, 82.27, 328.90°)
OKLaboklab(56.67% 0.1985 -0.1176)
OKLCHoklch(56.67% 0.231 329.4)
XYZxyz(29.4859, 15.4047, 45.6673)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29B6 #29BA2D
analogous
#7629BA #BA29B6 #BA296E
triadic
#BA29B6 #B6BA29 #29B6BA
tetradic
#BA29B6 #BA7629 #29BA2D #296EBA
square
#BA29B6 #BA7629 #29BA2D #296EBA
split-complementary
#BA29B6 #6EBA29 #29BA76
monochromatic
#561354 #881E85 #BA29B6 #D749D3 #E27BDF

Accessibility & contrast

On white

5.15
#BA29B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BA29B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29B6
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29B6#FFFFFF#000000##FFFFFF
##BA29B61.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0861BA
Deuteranopia (green-blind)
#5674B3
Tritanopia (blue-blind)
#C1406F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba29b6;
/* rgb */ color: rgb(186, 41, 182);
/* oklch */ color: oklch(56.7% 0.231 329.4);
Tailwind
colors: {
  custom: {
    50: '#d374cc',
    500: '#ba29b6',
    950: '#000000',
  },
}
SCSS
$custom: #ba29b6;
$custom-light: #d374cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29b6",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 301.655,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.23075,
    "h": 329.4
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#BA29B6
secondary
#75CA77
accent
#E74541
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BA29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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