#BA29B8#BA29B8

#BA29B8 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.8% C 0.232 H 328.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA29B8
RGBrgb(186, 41, 184)
HSLhsl(301, 64%, 45%)
HSVhsv(301, 78%, 73%)
CMYKcmyk(0%, 78%, 1.1%, 27.1%)
CIE-LABlab(46.30, 70.76, -43.49)
CIE-LCHlch(46.30, 83.05, 328.42°)
OKLaboklab(56.79% 0.1985 -0.1205)
OKLCHoklch(56.79% 0.232 328.7)
XYZxyz(29.6941, 15.4879, 46.7636)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29B8 #29BA2B
analogous
#7429BA #BA29B8 #BA296F
triadic
#BA29B8 #B8BA29 #29B8BA
tetradic
#BA29B8 #BA7429 #29BA2B #296FBA
square
#BA29B8 #BA7429 #29BA2B #296FBA
split-complementary
#BA29B8 #6FBA29 #29BA74
monochromatic
#561355 #881E86 #BA29B8 #D749D5 #E27BE1

Accessibility & contrast

On white

5.13
#BA29B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BA29B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29B8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29B8#FFFFFF#000000##FFFFFF
##BA29B81.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BC
Deuteranopia (green-blind)
#5574B5
Tritanopia (blue-blind)
#C04170
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba29b8;
/* rgb */ color: rgb(186, 41, 184);
/* oklch */ color: oklch(56.8% 0.232 328.7);
Tailwind
colors: {
  custom: {
    50: '#d374ce',
    500: '#ba29b8',
    950: '#000000',
  },
}
SCSS
$custom: #ba29b8;
$custom-light: #d374ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29b8",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 300.828,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.2322,
    "h": 328.7
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#BA29B8
secondary
#75CA76
accent
#E74341
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BA29B8

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

Preview Lab → · Contrast checker → · Palette generator →

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