#BA4AAA#BA4AAA

#BA4AAA is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.1% C 0.183 H 333.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA4AAA
RGBrgb(186, 74, 170)
HSLhsl(309, 45%, 51%)
HSVhsv(309, 60%, 73%)
CMYKcmyk(0%, 60.2%, 8.6%, 27.1%)
CIE-LABlab(49.79, 56.69, -29.77)
CIE-LCHlch(49.79, 64.04, 332.29°)
OKLaboklab(59.08% 0.1635 -0.0812)
OKLCHoklch(59.08% 0.183 333.6)
XYZxyz(29.9543, 18.2412, 39.9657)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4AAA #4ABA5A
analogous
#924ABA #BA4AAA #BA4A72
triadic
#BA4AAA #AABA4A #4AAABA
tetradic
#BA4AAA #BA924A #4ABA5A #4A72BA
square
#BA4AAA #BA924A #4ABA5A #4A72BA
split-complementary
#BA4AAA #72BA4A #4ABA92
monochromatic
#64265B #903783 #BA4AAA #CB76BF #DCA3D4

Accessibility & contrast

On white

4.52
#BA4AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#BA4AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4AAA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4AAA#FFFFFF#000000##000000
##BA4AAA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#6B7CA7
Tritanopia (blue-blind)
#C25273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba4aaa;
/* rgb */ color: rgb(186, 74, 170);
/* oklch */ color: oklch(59.1% 0.183 333.6);
Tailwind
colors: {
  custom: {
    50: '#d283c3',
    500: '#ba4aaa',
    950: '#000000',
  },
}
SCSS
$custom: #ba4aaa;
$custom-light: #d283c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4aaa",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 308.571,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.18259,
    "h": 333.6
  },
  "luminance": 0.18239
}

Semantic roles & 50–950 ramp

primary
#BA4AAA
secondary
#97C99E
accent
#D56653
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA4AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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