#BA29B1#BA29B1

#BA29B1 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.4% C 0.227 H 330.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BA29B1
RGBrgb(186, 41, 177)
HSLhsl(304, 64%, 45%)
HSVhsv(304, 78%, 73%)
CMYKcmyk(0%, 78%, 4.8%, 27.1%)
CIE-LABlab(45.91, 69.67, -39.99)
CIE-LCHlch(45.91, 80.33, 330.15°)
OKLaboklab(56.39% 0.1986 -0.1103)
OKLCHoklch(56.39% 0.227 330.9)
XYZxyz(28.9784, 15.2017, 42.9944)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29B1 #29BA32
analogous
#7B29BA #BA29B1 #BA2969
triadic
#BA29B1 #B1BA29 #29B1BA
tetradic
#BA29B1 #BA7B29 #29BA32 #2969BA
square
#BA29B1 #BA7B29 #29BA32 #2969BA
split-complementary
#BA29B1 #69BA29 #29BA7B
monochromatic
#561352 #881E81 #BA29B1 #D749CE #E27BDC

Accessibility & contrast

On white

5.20
#BA29B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BA29B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29B1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29B1#FFFFFF#000000##FFFFFF
##BA29B11.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1660B5
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#C13D6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ba29b1;
/* rgb */ color: rgb(186, 41, 177);
/* oklch */ color: oklch(56.4% 0.227 330.9);
Tailwind
colors: {
  custom: {
    50: '#d374c9',
    500: '#ba29b1',
    950: '#000000',
  },
}
SCSS
$custom: #ba29b1;
$custom-light: #d374c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29b1",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 303.724,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5639,
    "c": 0.22715,
    "h": 330.9
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#BA29B1
secondary
#75CA7A
accent
#E74B41
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BA29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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