#BA29B7#BA29B7

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

Color values

HEX#BA29B7
RGBrgb(186, 41, 183)
HSLhsl(301, 64%, 45%)
HSVhsv(301, 78%, 73%)
CMYKcmyk(0%, 78%, 1.6%, 27.1%)
CIE-LABlab(46.24, 70.60, -42.99)
CIE-LCHlch(46.24, 82.66, 328.66°)
OKLaboklab(56.73% 0.1985 -0.1191)
OKLCHoklch(56.73% 0.231 329)
XYZxyz(29.5896, 15.4462, 46.2135)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29B7 #29BA2C
analogous
#7429BA #BA29B7 #BA296F
triadic
#BA29B7 #B7BA29 #29B7BA
tetradic
#BA29B7 #BA7429 #29BA2C #296FBA
square
#BA29B7 #BA7429 #29BA2C #296FBA
split-complementary
#BA29B7 #6FBA29 #29BA74
monochromatic
#561354 #881E86 #BA29B7 #D749D4 #E27BE0

Accessibility & contrast

On white

5.14
#BA29B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BA29B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29B7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29B7#FFFFFF#000000##FFFFFF
##BA29B71.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0461BB
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#C04070
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba29b7;
/* rgb */ color: rgb(186, 41, 183);
/* oklch */ color: oklch(56.7% 0.231 329.0);
Tailwind
colors: {
  custom: {
    50: '#d374cd',
    500: '#ba29b7',
    950: '#000000',
  },
}
SCSS
$custom: #ba29b7;
$custom-light: #d374cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29b7",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 301.241,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.23147,
    "h": 329
  },
  "luminance": 0.15444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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