#BA3AAA#BA3AAA

#BA3AAA is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.4% C 0.204 H 333.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA3AAA
RGBrgb(186, 58, 170)
HSLhsl(308, 52%, 48%)
HSVhsv(308, 69%, 73%)
CMYKcmyk(0%, 68.8%, 8.6%, 27.1%)
CIE-LABlab(47.46, 63.16, -33.42)
CIE-LCHlch(47.46, 71.46, 332.12°)
OKLaboklab(57.38% 0.1824 -0.0915)
OKLCHoklch(57.38% 0.204 333.4)
XYZxyz(29.0186, 16.3699, 39.6538)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3AAA #3ABA4A
analogous
#8A3ABA #BA3AAA #BA3A6A
triadic
#BA3AAA #AABA3A #3AAABA
tetradic
#BA3AAA #BA8A3A #3ABA4A #3A6ABA
square
#BA3AAA #BA8A3A #3ABA4A #3A6ABA
split-complementary
#BA3AAA #6ABA3A #3ABA8A
monochromatic
#5D1D55 #8B2B7F #BA3AAA #CE63C1 #DD92D3

Accessibility & contrast

On white

4.91
#BA3AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BA3AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3AAA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3AAA#FFFFFF#000000##FFFFFF
##BA3AAA1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#6377A7
Tritanopia (blue-blind)
#C2456D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3aaa;
/* rgb */ color: rgb(186, 58, 170);
/* oklch */ color: oklch(57.4% 0.204 333.4);
Tailwind
colors: {
  custom: {
    50: '#d27bc3',
    500: '#ba3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #ba3aaa;
$custom-light: #d27bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3aaa",
  "rgb": {
    "r": 186,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 307.5,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57384,
    "c": 0.2041,
    "h": 333.4
  },
  "luminance": 0.16367
}

Semantic roles & 50–950 ramp

primary
#BA3AAA
secondary
#88C890
accent
#DC5E4C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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