#BA3ACA#BA3ACA

#BA3ACA is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.2% C 0.229 H 323.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA3ACA
RGBrgb(186, 58, 202)
HSLhsl(293, 58%, 51%)
HSVhsv(293, 71%, 79%)
CMYKcmyk(7.9%, 71.3%, 0%, 20.8%)
CIE-LABlab(49.17, 68.46, -49.37)
CIE-LCHlch(49.17, 84.41, 324.20°)
OKLaboklab(59.17% 0.1831 -0.1378)
OKLCHoklch(59.17% 0.229 323)
XYZxyz(32.4224, 17.7314, 57.5804)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3ACA #4ACA3A
analogous
#723ACA #BA3ACA #CA3A92
triadic
#BA3ACA #CABA3A #3ACABA
tetradic
#BA3ACA #CA723A #4ACA3A #3A92CA
square
#BA3ACA #CA723A #4ACA3A #3A92CA
split-complementary
#BA3ACA #92CA3A #3ACA72
monochromatic
#641D6C #902A9D #BA3ACA #CB6AD7 #DC9AE4

Accessibility & contrast

On white

4.62
#BA3ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#BA3ACA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3ACA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3ACA#FFFFFF#000000##FFFFFF
##BA3ACA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#517AC7
Tritanopia (blue-blind)
#BD547F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3aca;
/* rgb */ color: rgb(186, 58, 202);
/* oklch */ color: oklch(59.2% 0.229 323.0);
Tailwind
colors: {
  custom: {
    50: '#d37cdb',
    500: '#ba3aca',
    950: '#000000',
  },
}
SCSS
$custom: #ba3aca;
$custom-light: #d37cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3aca",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 293.333,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59169,
    "c": 0.22916,
    "h": 323
  },
  "luminance": 0.17729
}

Semantic roles & 50–950 ramp

primary
#BA3ACA
secondary
#97D090
accent
#E14758
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BA3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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