#BA29B0#BA29B0

#BA29B0 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.226 H 331.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA29B0
RGBrgb(186, 41, 176)
HSLhsl(304, 64%, 45%)
HSVhsv(304, 78%, 73%)
CMYKcmyk(0%, 78%, 5.4%, 27.1%)
CIE-LABlab(45.86, 69.52, -39.48)
CIE-LCHlch(45.86, 79.95, 330.41°)
OKLaboklab(56.33% 0.1986 -0.1089)
OKLCHoklch(56.33% 0.226 331.3)
XYZxyz(28.8791, 15.1620, 42.4714)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29B0 #29BA33
analogous
#7C29BA #BA29B0 #BA2968
triadic
#BA29B0 #B0BA29 #29B0BA
tetradic
#BA29B0 #BA7C29 #29BA33 #2968BA
square
#BA29B0 #BA7C29 #29BA33 #2968BA
split-complementary
#BA29B0 #68BA29 #29BA7C
monochromatic
#561351 #881E81 #BA29B0 #D749CD #E27BDB

Accessibility & contrast

On white

5.21
#BA29B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BA29B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29B0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29B0#FFFFFF#000000##FFFFFF
##BA29B01.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1860B4
Deuteranopia (green-blind)
#5973AD
Tritanopia (blue-blind)
#C23D6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba29b0;
/* rgb */ color: rgb(186, 41, 176);
/* oklch */ color: oklch(56.3% 0.226 331.3);
Tailwind
colors: {
  custom: {
    50: '#d374c8',
    500: '#ba29b0',
    950: '#000000',
  },
}
SCSS
$custom: #ba29b0;
$custom-light: #d374c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29b0",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 176
  },
  "hsl": {
    "h": 304.138,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56334,
    "c": 0.22645,
    "h": 331.3
  },
  "luminance": 0.1516
}

Semantic roles & 50–950 ramp

primary
#BA29B0
secondary
#75CA7B
accent
#E74C41
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BA29B0

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

Preview Lab → · Contrast checker → · Palette generator →

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