#BA29C6#BA29C6

#BA29C6 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.6% C 0.243 H 324.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA29C6
RGBrgb(186, 41, 198)
HSLhsl(295, 66%, 47%)
HSVhsv(295, 79%, 78%)
CMYKcmyk(6.1%, 79.3%, 0%, 22.4%)
CIE-LABlab(47.11, 73.01, -50.35)
CIE-LCHlch(47.11, 88.69, 325.41°)
OKLaboklab(57.63% 0.1977 -0.1405)
OKLCHoklch(57.63% 0.243 324.6)
XYZxyz(31.2349, 16.1043, 54.8784)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA29C6 #35C629
analogous
#6C29C6 #BA29C6 #C62984
triadic
#BA29C6 #C6BA29 #29C6BA
tetradic
#BA29C6 #C66C29 #35C629 #2984C6
square
#BA29C6 #C66C29 #35C629 #2984C6
split-complementary
#BA29C6 #84C629 #29C66C
monochromatic
#5B1461 #8A1F93 #BA29C6 #D051DB #DE84E6

Accessibility & contrast

On white

4.98
#BA29C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA29C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA29C6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA29C6#FFFFFF#000000##FFFFFF
##BA29C61.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#4B75C2
Tritanopia (blue-blind)
#BE4878
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba29c6;
/* rgb */ color: rgb(186, 41, 198);
/* oklch */ color: oklch(57.6% 0.243 324.6);
Tailwind
colors: {
  custom: {
    50: '#d375d8',
    500: '#ba29c6',
    950: '#000000',
  },
}
SCSS
$custom: #ba29c6;
$custom-light: #d375d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba29c6",
  "rgb": {
    "r": 186,
    "g": 41,
    "b": 198
  },
  "hsl": {
    "h": 295.414,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5763,
    "c": 0.24254,
    "h": 324.6
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

primary
#BA29C6
secondary
#82CF7C
accent
#E93F4C
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA29C6

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

Preview Lab → · Contrast checker → · Palette generator →

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