#BA3BC6#BA3BC6

#BA3BC6 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.0% C 0.225 H 324.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA3BC6
RGBrgb(186, 59, 198)
HSLhsl(295, 55%, 50%)
HSVhsv(295, 70%, 78%)
CMYKcmyk(6.1%, 70.2%, 0%, 22.4%)
CIE-LABlab(49.06, 67.41, -47.23)
CIE-LCHlch(49.06, 82.31, 324.98°)
OKLaboklab(59.02% 0.1823 -0.1315)
OKLCHoklch(59.02% 0.225 324.2)
XYZxyz(32.0058, 17.6462, 55.1354)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BC6 #47C63B
analogous
#743BC6 #BA3BC6 #C63B8D
triadic
#BA3BC6 #C6BA3B #3BC6BA
tetradic
#BA3BC6 #C6743B #47C63B #3B8DC6
square
#BA3BC6 #C6743B #47C63B #3B8DC6
split-complementary
#BA3BC6 #8DC63B #3BC674
monochromatic
#621E68 #8E2C98 #BA3BC6 #CB6AD4 #DB9AE2

Accessibility & contrast

On white

4.64
#BA3BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BA3BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BC6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BC6#FFFFFF#000000##FFFFFF
##BA3BC61.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106BCA
Deuteranopia (green-blind)
#547AC3
Tritanopia (blue-blind)
#BE537D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3bc6;
/* rgb */ color: rgb(186, 59, 198);
/* oklch */ color: oklch(59.0% 0.225 324.2);
Tailwind
colors: {
  custom: {
    50: '#d27cd8',
    500: '#ba3bc6',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bc6;
$custom-light: #d27cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bc6",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 198
  },
  "hsl": {
    "h": 294.82,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5902,
    "c": 0.22478,
    "h": 324.2
  },
  "luminance": 0.17644
}

Semantic roles & 50–950 ramp

primary
#BA3BC6
secondary
#95CD8F
accent
#DE4A56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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