#BA3AC3#BA3AC3

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

Color values

HEX#BA3AC3
RGBrgb(186, 58, 195)
HSLhsl(296, 54%, 50%)
HSVhsv(296, 70%, 76%)
CMYKcmyk(4.6%, 70.3%, 0%, 23.5%)
CIE-LABlab(48.77, 67.25, -45.97)
CIE-LCHlch(48.77, 81.46, 325.65°)
OKLaboklab(58.76% 0.1833 -0.1278)
OKLCHoklch(58.76% 0.223 325.1)
XYZxyz(31.6123, 17.4074, 53.3141)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AC3 #43C33A
analogous
#753AC3 #BA3AC3 #C33A88
triadic
#BA3AC3 #C3BA3A #3AC3BA
tetradic
#BA3AC3 #C3753A #43C33A #3A88C3
square
#BA3AC3 #C3753A #43C33A #3A88C3
split-complementary
#BA3AC3 #88C33A #3AC375
monochromatic
#601E65 #8D2C94 #BA3AC3 #CB68D2 #DB97E0

Accessibility & contrast

On white

4.69
#BA3AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BA3AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3AC3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AC3#FFFFFF#000000##FFFFFF
##BA3AC31.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156AC7
Deuteranopia (green-blind)
#5679C0
Tritanopia (blue-blind)
#BE517B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3ac3;
/* rgb */ color: rgb(186, 58, 195);
/* oklch */ color: oklch(58.8% 0.223 325.1);
Tailwind
colors: {
  custom: {
    50: '#d27cd6',
    500: '#ba3ac3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ac3;
$custom-light: #d27cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ac3",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 195
  },
  "hsl": {
    "h": 296.058,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.22349,
    "h": 325.1
  },
  "luminance": 0.17405
}

Semantic roles & 50–950 ramp

primary
#BA3AC3
secondary
#91CC8D
accent
#DE4A54
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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