#BA3BC2#BA3BC2

#BA3BC2 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.222 H 325.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA3BC2
RGBrgb(186, 59, 194)
HSLhsl(296, 53%, 50%)
HSVhsv(296, 70%, 76%)
CMYKcmyk(4.1%, 69.6%, 0%, 23.9%)
CIE-LABlab(48.84, 66.72, -45.27)
CIE-LCHlch(48.84, 80.63, 325.84°)
OKLaboklab(58.79% 0.1823 -0.1258)
OKLCHoklch(58.79% 0.222 325.4)
XYZxyz(31.5506, 17.4641, 52.7376)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BC2 #43C23B
analogous
#763BC2 #BA3BC2 #C23B87
triadic
#BA3BC2 #C2BA3B #3BC2BA
tetradic
#BA3BC2 #C2763B #43C23B #3B87C2
square
#BA3BC2 #C2763B #43C23B #3B87C2
split-complementary
#BA3BC2 #87C23B #3BC276
monochromatic
#601E64 #8D2D93 #BA3BC2 #CB69D1 #DB98E0

Accessibility & contrast

On white

4.67
#BA3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BA3BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BC2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BC2#FFFFFF#000000##FFFFFF
##BA3BC21.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6AC6
Deuteranopia (green-blind)
#5779BF
Tritanopia (blue-blind)
#BE517B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3bc2;
/* rgb */ color: rgb(186, 59, 194);
/* oklch */ color: oklch(58.8% 0.222 325.4);
Tailwind
colors: {
  custom: {
    50: '#d27cd5',
    500: '#ba3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bc2;
$custom-light: #d27cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bc2",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 296.444,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58787,
    "c": 0.22154,
    "h": 325.4
  },
  "luminance": 0.17462
}

Semantic roles & 50–950 ramp

primary
#BA3BC2
secondary
#91CB8E
accent
#DD4B54
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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