#BA29AA#BA29AA

#BA29AA is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.222 H 333.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BA29AA
RGBrgb(186, 41, 170)
HSLhsl(307, 64%, 45%)
HSVhsv(307, 78%, 73%)
CMYKcmyk(0%, 78%, 8.6%, 27.1%)
CIE-LABlab(45.54, 68.62, -36.44)
CIE-LCHlch(45.54, 77.70, 332.03°)
OKLaboklab(56% 0.1984 -0.1001)
OKLCHoklch(56% 0.222 333.2)
XYZxyz(28.2985, 14.9297, 39.4137)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29AA #29BA39
analogous
#8229BA #BA29AA #BA2961
triadic
#BA29AA #AABA29 #29AABA
tetradic
#BA29AA #BA8229 #29BA39 #2961BA
square
#BA29AA #BA8229 #29BA39 #2961BA
split-complementary
#BA29AA #61BA29 #29BA82
monochromatic
#56134E #881E7C #BA29AA #D749C7 #E27BD7

Accessibility & contrast

On white

5.27
#BA29AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA29AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29AA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29AA#FFFFFF#000000##FFFFFF
##BA29AA1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225FAD
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#C33968
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba29aa;
/* rgb */ color: rgb(186, 41, 170);
/* oklch */ color: oklch(56.0% 0.222 333.2);
Tailwind
colors: {
  custom: {
    50: '#d374c4',
    500: '#ba29aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba29aa;
$custom-light: #d374c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29aa",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 306.621,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56004,
    "c": 0.22223,
    "h": 333.2
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#BA29AA
secondary
#75CA7E
accent
#E75341
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BA29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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