#BA29A2#BA29A2

#BA29A2 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.217 H 336.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA29A2
RGBrgb(186, 41, 162)
HSLhsl(310, 64%, 45%)
HSVhsv(310, 78%, 73%)
CMYKcmyk(0%, 78%, 12.9%, 27.1%)
CIE-LABlab(45.13, 67.46, -32.32)
CIE-LCHlch(45.13, 74.80, 334.40°)
OKLaboklab(55.58% 0.198 -0.0882)
OKLCHoklch(55.58% 0.217 336)
XYZxyz(27.5647, 14.6362, 35.5488)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29A2 #29BA41
analogous
#8A29BA #BA29A2 #BA295A
triadic
#BA29A2 #A2BA29 #29A2BA
tetradic
#BA29A2 #BA8A29 #29BA41 #295ABA
square
#BA29A2 #BA8A29 #29BA41 #295ABA
split-complementary
#BA29A2 #5ABA29 #29BA8A
monochromatic
#56134B #881E76 #BA29A2 #D749BF #E27BD1

Accessibility & contrast

On white

5.35
#BA29A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA29A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29A2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29A2#FFFFFF#000000##FFFFFF
##BA29A21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#60729F
Tritanopia (blue-blind)
#C43564
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba29a2;
/* rgb */ color: rgb(186, 41, 162);
/* oklch */ color: oklch(55.6% 0.217 336.0);
Tailwind
colors: {
  custom: {
    50: '#d374be',
    500: '#ba29a2',
    950: '#000000',
  },
}
SCSS
$custom: #ba29a2;
$custom-light: #d374be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29a2",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 309.931,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55582,
    "c": 0.21676,
    "h": 336
  },
  "luminance": 0.14634
}

Semantic roles & 50–950 ramp

primary
#BA29A2
secondary
#75CA83
accent
#E75C41
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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