#BA3AC0#BA3AC0

#BA3AC0 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.221 H 326.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA3AC0
RGBrgb(186, 58, 192)
HSLhsl(297, 54%, 49%)
HSVhsv(297, 70%, 75%)
CMYKcmyk(3.1%, 69.8%, 0%, 24.7%)
CIE-LABlab(48.60, 66.74, -44.49)
CIE-LCHlch(48.60, 80.21, 326.31°)
OKLaboklab(58.58% 0.1834 -0.1235)
OKLCHoklch(58.58% 0.221 326)
XYZxyz(31.2766, 17.2730, 51.5456)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AC0 #40C03A
analogous
#773AC0 #BA3AC0 #C03A83
triadic
#BA3AC0 #C0BA3A #3AC0BA
tetradic
#BA3AC0 #C0773A #40C03A #3A83C0
square
#BA3AC0 #C0773A #40C03A #3A83C0
split-complementary
#BA3AC0 #83C03A #3AC077
monochromatic
#5F1E62 #8C2C91 #BA3AC0 #CC66D1 #DC95DF

Accessibility & contrast

On white

4.71
#BA3AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BA3AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3AC0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AC0#FFFFFF#000000##FFFFFF
##BA3AC01.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C4
Deuteranopia (green-blind)
#5879BD
Tritanopia (blue-blind)
#BF4F79
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3ac0;
/* rgb */ color: rgb(186, 58, 192);
/* oklch */ color: oklch(58.6% 0.221 326.0);
Tailwind
colors: {
  custom: {
    50: '#d27cd3',
    500: '#ba3ac0',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ac0;
$custom-light: #d27cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ac0",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 192
  },
  "hsl": {
    "h": 297.313,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.22109,
    "h": 326
  },
  "luminance": 0.17271
}

Semantic roles & 50–950 ramp

primary
#BA3AC0
secondary
#8ECA8B
accent
#DD4B51
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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