#BA3CA6#BA3CA6

#BA3CA6 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.4% C 0.199 H 334.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA3CA6
RGBrgb(186, 60, 166)
HSLhsl(310, 51%, 48%)
HSVhsv(310, 68%, 73%)
CMYKcmyk(0%, 67.7%, 10.8%, 27.1%)
CIE-LABlab(47.53, 61.80, -30.94)
CIE-LCHlch(47.53, 69.11, 333.41°)
OKLaboklab(57.38% 0.1798 -0.0844)
OKLCHoklch(57.38% 0.199 334.9)
XYZxyz(28.7488, 16.4264, 37.7255)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CA6 #3CBA50
analogous
#8F3CBA #BA3CA6 #BA3C67
triadic
#BA3CA6 #A6BA3C #3CA6BA
tetradic
#BA3CA6 #BA8F3C #3CBA50 #3C67BA
square
#BA3CA6 #BA8F3C #3CBA50 #3C67BA
split-complementary
#BA3CA6 #67BA3C #3CBA8F
monochromatic
#5D1E53 #8C2D7D #BA3CA6 #CE66BD #DC94D1

Accessibility & contrast

On white

4.90
#BA3CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA3CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CA6
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CA6#FFFFFF#000000##FFFFFF
##BA3CA61.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B65A9
Deuteranopia (green-blind)
#6677A3
Tritanopia (blue-blind)
#C3456C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3ca6;
/* rgb */ color: rgb(186, 60, 166);
/* oklch */ color: oklch(57.4% 0.199 334.9);
Tailwind
colors: {
  custom: {
    50: '#d27cc0',
    500: '#ba3ca6',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ca6;
$custom-light: #d27cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ca6",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 309.524,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.19867,
    "h": 334.9
  },
  "luminance": 0.16424
}

Semantic roles & 50–950 ramp

primary
#BA3CA6
secondary
#8AC894
accent
#DB644D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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