#BA3AC2#BA3AC2

#BA3AC2 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.223 H 325.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA3AC2
RGBrgb(186, 58, 194)
HSLhsl(296, 54%, 49%)
HSVhsv(296, 70%, 76%)
CMYKcmyk(4.1%, 70.1%, 0%, 23.9%)
CIE-LABlab(48.71, 67.08, -45.47)
CIE-LCHlch(48.71, 81.04, 325.86°)
OKLaboklab(58.7% 0.1833 -0.1264)
OKLCHoklch(58.7% 0.223 325.4)
XYZxyz(31.4997, 17.3623, 52.7206)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AC2 #42C23A
analogous
#763AC2 #BA3AC2 #C23A86
triadic
#BA3AC2 #C2BA3A #3AC2BA
tetradic
#BA3AC2 #C2763A #42C23A #3A86C2
square
#BA3AC2 #C2763A #42C23A #3A86C2
split-complementary
#BA3AC2 #86C23A #3AC276
monochromatic
#601E64 #8D2C93 #BA3AC2 #CB67D2 #DB97E0

Accessibility & contrast

On white

4.70
#BA3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BA3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3AC2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AC2#FFFFFF#000000##FFFFFF
##BA3AC21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176AC6
Deuteranopia (green-blind)
#5679BF
Tritanopia (blue-blind)
#BE507A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3ac2;
/* rgb */ color: rgb(186, 58, 194);
/* oklch */ color: oklch(58.7% 0.223 325.4);
Tailwind
colors: {
  custom: {
    50: '#d27cd5',
    500: '#ba3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ac2;
$custom-light: #d27cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ac2",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 296.471,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.22269,
    "h": 325.4
  },
  "luminance": 0.1736
}

Semantic roles & 50–950 ramp

primary
#BA3AC2
secondary
#90CB8D
accent
#DD4A53
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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