#BA3CB6#BA3CB6

#BA3CB6 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.211 H 329.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA3CB6
RGBrgb(186, 60, 182)
HSLhsl(302, 51%, 48%)
HSVhsv(302, 68%, 73%)
CMYKcmyk(0%, 67.7%, 2.2%, 27.1%)
CIE-LABlab(48.32, 64.34, -39.10)
CIE-LCHlch(48.32, 75.29, 328.71°)
OKLaboklab(58.21% 0.1811 -0.1079)
OKLCHoklch(58.21% 0.211 329.2)
XYZxyz(30.3088, 17.0504, 45.9416)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CB6 #3CBA40
analogous
#7F3CBA #BA3CB6 #BA3C77
triadic
#BA3CB6 #B6BA3C #3CB6BA
tetradic
#BA3CB6 #BA7F3C #3CBA40 #3C77BA
square
#BA3CB6 #BA7F3C #3CBA40 #3C77BA
split-complementary
#BA3CB6 #77BA3C #3CBA7F
monochromatic
#5D1E5B #8C2D89 #BA3CB6 #CE66CA #DC94DA

Accessibility & contrast

On white

4.76
#BA3CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BA3CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CB6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CB6#FFFFFF#000000##FFFFFF
##BA3CB61.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D68B9
Deuteranopia (green-blind)
#5E79B3
Tritanopia (blue-blind)
#C04C74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3cb6;
/* rgb */ color: rgb(186, 60, 182);
/* oklch */ color: oklch(58.2% 0.211 329.2);
Tailwind
colors: {
  custom: {
    50: '#d27ccc',
    500: '#ba3cb6',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cb6;
$custom-light: #d27ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cb6",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 301.905,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58207,
    "c": 0.21081,
    "h": 329.2
  },
  "luminance": 0.17048
}

Semantic roles & 50–950 ramp

primary
#BA3CB6
secondary
#8AC88C
accent
#DB524D
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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