#BA29A3#BA29A3

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

Color values

HEX#BA29A3
RGBrgb(186, 41, 163)
HSLhsl(310, 64%, 45%)
HSVhsv(310, 78%, 73%)
CMYKcmyk(0%, 78%, 12.4%, 27.1%)
CIE-LABlab(45.18, 67.60, -32.84)
CIE-LCHlch(45.18, 75.16, 334.09°)
OKLaboklab(55.63% 0.1981 -0.0897)
OKLCHoklch(55.63% 0.217 335.6)
XYZxyz(27.6539, 14.6719, 36.0188)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29A3 #29BA40
analogous
#8929BA #BA29A3 #BA295B
triadic
#BA29A3 #A3BA29 #29A3BA
tetradic
#BA29A3 #BA8929 #29BA40 #295BBA
square
#BA29A3 #BA8929 #29BA40 #295BBA
split-complementary
#BA29A3 #5BBA29 #29BA89
monochromatic
#56134B #881E77 #BA29A3 #D749C0 #E27BD2

Accessibility & contrast

On white

5.34
#BA29A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA29A3
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29A3#FFFFFF#000000##FFFFFF
##BA29A31.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA6
Deuteranopia (green-blind)
#6072A0
Tritanopia (blue-blind)
#C43565
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba29a3;
/* rgb */ color: rgb(186, 41, 163);
/* oklch */ color: oklch(55.6% 0.217 335.6);
Tailwind
colors: {
  custom: {
    50: '#d374be',
    500: '#ba29a3',
    950: '#000000',
  },
}
SCSS
$custom: #ba29a3;
$custom-light: #d374be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29a3",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 309.517,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55633,
    "c": 0.21743,
    "h": 335.6
  },
  "luminance": 0.14669
}

Semantic roles & 50–950 ramp

primary
#BA29A3
secondary
#75CA82
accent
#E75B41
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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