#BA3CA9#BA3CA9

#BA3CA9 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.201 H 333.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA3CA9
RGBrgb(186, 60, 169)
HSLhsl(308, 51%, 48%)
HSVhsv(308, 68%, 73%)
CMYKcmyk(0%, 67.7%, 9.1%, 27.1%)
CIE-LABlab(47.67, 62.26, -32.49)
CIE-LCHlch(47.67, 70.23, 332.44°)
OKLaboklab(57.53% 0.1802 -0.0889)
OKLCHoklch(57.53% 0.201 333.7)
XYZxyz(29.0272, 16.5378, 39.1917)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CA9 #3CBA4D
analogous
#8C3CBA #BA3CA9 #BA3C6A
triadic
#BA3CA9 #A9BA3C #3CA9BA
tetradic
#BA3CA9 #BA8C3C #3CBA4D #3C6ABA
square
#BA3CA9 #BA8C3C #3CBA4D #3C6ABA
split-complementary
#BA3CA9 #6ABA3C #3CBA8C
monochromatic
#5D1E55 #8C2D7F #BA3CA9 #CE66C0 #DC94D3

Accessibility & contrast

On white

4.88
#BA3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA3CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CA9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CA9#FFFFFF#000000##FFFFFF
##BA3CA91.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3965AC
Deuteranopia (green-blind)
#6578A6
Tritanopia (blue-blind)
#C2466D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3ca9;
/* rgb */ color: rgb(186, 60, 169);
/* oklch */ color: oklch(57.5% 0.201 333.7);
Tailwind
colors: {
  custom: {
    50: '#d27cc3',
    500: '#ba3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ca9;
$custom-light: #d27cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ca9",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 308.095,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57525,
    "c": 0.20088,
    "h": 333.7
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

primary
#BA3CA9
secondary
#8AC892
accent
#DB604D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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