#BA29AF#BA29AF

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

Color values

HEX#BA29AF
RGBrgb(186, 41, 175)
HSLhsl(305, 64%, 45%)
HSVhsv(305, 78%, 73%)
CMYKcmyk(0%, 78%, 5.9%, 27.1%)
CIE-LABlab(45.80, 69.37, -38.98)
CIE-LCHlch(45.80, 79.57, 330.67°)
OKLaboklab(56.28% 0.1985 -0.1074)
OKLCHoklch(56.28% 0.226 331.6)
XYZxyz(28.7805, 15.1225, 41.9523)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29AF #29BA34
analogous
#7D29BA #BA29AF #BA2966
triadic
#BA29AF #AFBA29 #29AFBA
tetradic
#BA29AF #BA7D29 #29BA34 #2966BA
square
#BA29AF #BA7D29 #29BA34 #2966BA
split-complementary
#BA29AF #66BA29 #29BA7D
monochromatic
#561351 #881E80 #BA29AF #D749CC #E27BDA

Accessibility & contrast

On white

5.22
#BA29AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BA29AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29AF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29AF#FFFFFF#000000##FFFFFF
##BA29AF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B3
Deuteranopia (green-blind)
#5A73AC
Tritanopia (blue-blind)
#C23C6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba29af;
/* rgb */ color: rgb(186, 41, 175);
/* oklch */ color: oklch(56.3% 0.226 331.6);
Tailwind
colors: {
  custom: {
    50: '#d374c7',
    500: '#ba29af',
    950: '#000000',
  },
}
SCSS
$custom: #ba29af;
$custom-light: #d374c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29af",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 304.552,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56278,
    "c": 0.22574,
    "h": 331.6
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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