#BA36BB#BA36BB

#BA36BB is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.222 H 327.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA36BB
RGBrgb(186, 54, 187)
HSLhsl(300, 55%, 47%)
HSVhsv(300, 71%, 73%)
CMYKcmyk(0.5%, 71.1%, 0%, 26.7%)
CIE-LABlab(47.84, 67.29, -42.79)
CIE-LCHlch(47.84, 79.75, 327.55°)
OKLaboklab(57.95% 0.1873 -0.1186)
OKLCHoklch(57.95% 0.222 327.7)
XYZxyz(30.5381, 16.6675, 48.6128)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36BB #37BB36
analogous
#7836BB #BA36BB #BB3679
triadic
#BA36BB #BBBA36 #36BBBA
tetradic
#BA36BB #BB7836 #37BB36 #3679BB
square
#BA36BB #BB7836 #37BB36 #3679BB
split-complementary
#BA36BB #79BB36 #36BB78
monochromatic
#5C1B5C #8B288C #BA36BB #D05ED0 #DE8DDE

Accessibility & contrast

On white

4.85
#BA36BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#BA36BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36BB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36BB#FFFFFF#000000##FFFFFF
##BA36BB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67BF
Deuteranopia (green-blind)
#5977B8
Tritanopia (blue-blind)
#C04A75
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba36bb;
/* rgb */ color: rgb(186, 54, 187);
/* oklch */ color: oklch(57.9% 0.222 327.7);
Tailwind
colors: {
  custom: {
    50: '#d27ad0',
    500: '#ba36bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba36bb;
$custom-light: #d27ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36bb",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 299.549,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57945,
    "c": 0.22164,
    "h": 327.7
  },
  "luminance": 0.16665
}

Semantic roles & 50–950 ramp

primary
#BA36BB
secondary
#85C984
accent
#DF494A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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