#BA33A4#BA33A4

#BA33A4 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.5% C 0.208 H 335.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA33A4
RGBrgb(186, 51, 164)
HSLhsl(310, 57%, 46%)
HSVhsv(310, 73%, 73%)
CMYKcmyk(0%, 72.6%, 11.8%, 27.1%)
CIE-LABlab(46.30, 64.70, -31.68)
CIE-LCHlch(46.30, 72.04, 333.91°)
OKLaboklab(56.45% 0.1891 -0.0865)
OKLCHoklch(56.45% 0.208 335.4)
XYZxyz(28.1347, 15.4896, 36.6228)
Luminance0.1549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA33A4 #33BA49
analogous
#8D33BA #BA33A4 #BA3361
triadic
#BA33A4 #A4BA33 #33A4BA
tetradic
#BA33A4 #BA8D33 #33BA49 #3361BA
square
#BA33A4 #BA8D33 #33BA49 #3361BA
split-complementary
#BA33A4 #61BA33 #33BA8D
monochromatic
#5A194F #8A267A #BA33A4 #D159BE #DF89D1

Accessibility & contrast

On white

5.13
#BA33A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BA33A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA33A4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA33A4#FFFFFF#000000##FFFFFF
##BA33A41.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3361A7
Deuteranopia (green-blind)
#6375A1
Tritanopia (blue-blind)
#C33D68
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba33a4;
/* rgb */ color: rgb(186, 51, 164);
/* oklch */ color: oklch(56.5% 0.208 335.4);
Tailwind
colors: {
  custom: {
    50: '#d378bf',
    500: '#ba33a4',
    950: '#000000',
  },
}
SCSS
$custom: #ba33a4;
$custom-light: #d378bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba33a4",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 309.778,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56453,
    "c": 0.20792,
    "h": 335.4
  },
  "luminance": 0.15487
}

Semantic roles & 50–950 ramp

primary
#BA33A4
secondary
#80C98C
accent
#E06048
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA33A4

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

Preview Lab → · Contrast checker → · Palette generator →

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