#BA29B5#BA29B5

#BA29B5 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.6% C 0.230 H 329.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BA29B5
RGBrgb(186, 41, 181)
HSLhsl(302, 64%, 45%)
HSVhsv(302, 78%, 73%)
CMYKcmyk(0%, 78%, 2.7%, 27.1%)
CIE-LABlab(46.13, 70.29, -42.00)
CIE-LCHlch(46.13, 81.88, 329.14°)
OKLaboklab(56.62% 0.1985 -0.1162)
OKLCHoklch(56.62% 0.23 329.7)
XYZxyz(29.3830, 15.3635, 45.1250)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29B5 #29BA2E
analogous
#7729BA #BA29B5 #BA296D
triadic
#BA29B5 #B5BA29 #29B5BA
tetradic
#BA29B5 #BA7729 #29BA2E #296DBA
square
#BA29B5 #BA7729 #29BA2E #296DBA
split-complementary
#BA29B5 #6DBA29 #29BA77
monochromatic
#561353 #881E84 #BA29B5 #D749D2 #E27BDE

Accessibility & contrast

On white

5.16
#BA29B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BA29B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29B5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29B5#FFFFFF#000000##FFFFFF
##BA29B51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B61B9
Deuteranopia (green-blind)
#5674B2
Tritanopia (blue-blind)
#C13F6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba29b5;
/* rgb */ color: rgb(186, 41, 181);
/* oklch */ color: oklch(56.6% 0.230 329.7);
Tailwind
colors: {
  custom: {
    50: '#d374cc',
    500: '#ba29b5',
    950: '#000000',
  },
}
SCSS
$custom: #ba29b5;
$custom-light: #d374cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29b5",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 181
  },
  "hsl": {
    "h": 302.069,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56616,
    "c": 0.23002,
    "h": 329.7
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#BA29B5
secondary
#75CA78
accent
#E74741
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BA29B5

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

Preview Lab → · Contrast checker → · Palette generator →

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