#BA36AB#BA36AB

#BA36AB is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.210 H 333.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA36AB
RGBrgb(186, 54, 171)
HSLhsl(307, 55%, 47%)
HSVhsv(307, 71%, 73%)
CMYKcmyk(0%, 71%, 8.1%, 27.1%)
CIE-LABlab(47.00, 64.74, -34.72)
CIE-LCHlch(47.00, 73.47, 331.79°)
OKLaboklab(57.07% 0.1867 -0.0952)
OKLCHoklch(57.07% 0.21 333)
XYZxyz(28.9197, 16.0201, 40.0892)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36AB #36BA45
analogous
#8736BA #BA36AB #BA3669
triadic
#BA36AB #ABBA36 #36ABBA
tetradic
#BA36AB #BA8736 #36BA45 #3669BA
square
#BA36AB #BA8736 #36BA45 #3669BA
split-complementary
#BA36AB #69BA36 #36BA87
monochromatic
#5B1A54 #8B287F #BA36AB #D05DC3 #DE8DD5

Accessibility & contrast

On white

5.00
#BA36AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BA36AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36AB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36AB#FFFFFF#000000##FFFFFF
##BA36AB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AE
Deuteranopia (green-blind)
#6176A8
Tritanopia (blue-blind)
#C2436D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba36ab;
/* rgb */ color: rgb(186, 54, 171);
/* oklch */ color: oklch(57.1% 0.210 333.0);
Tailwind
colors: {
  custom: {
    50: '#d279c4',
    500: '#ba36ab',
    950: '#000000',
  },
}
SCSS
$custom: #ba36ab;
$custom-light: #d279c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36ab",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 306.818,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57072,
    "c": 0.20956,
    "h": 333
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

primary
#BA36AB
secondary
#84C88B
accent
#DE5A49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA36AB

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

Preview Lab → · Contrast checker → · Palette generator →

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