#BA36AA#BA36AA

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

Color values

HEX#BA36AA
RGBrgb(186, 54, 170)
HSLhsl(307, 55%, 47%)
HSVhsv(307, 71%, 73%)
CMYKcmyk(0%, 71%, 8.6%, 27.1%)
CIE-LABlab(46.95, 64.59, -34.21)
CIE-LCHlch(46.95, 73.09, 332.09°)
OKLaboklab(57.02% 0.1866 -0.0938)
OKLCHoklch(57.02% 0.209 333.3)
XYZxyz(28.8247, 15.9821, 39.5891)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36AA #36BA46
analogous
#8836BA #BA36AA #BA3668
triadic
#BA36AA #AABA36 #36AABA
tetradic
#BA36AA #BA8836 #36BA46 #3668BA
square
#BA36AA #BA8836 #36BA46 #3668BA
split-complementary
#BA36AA #68BA36 #36BA88
monochromatic
#5B1A53 #8B287F #BA36AA #D05DC2 #DE8DD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA36AA#FFFFFF#000000##FFFFFF
##BA36AA1.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)
#3163AD
Deuteranopia (green-blind)
#6176A7
Tritanopia (blue-blind)
#C2426C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba36aa;
/* rgb */ color: rgb(186, 54, 170);
/* oklch */ color: oklch(57.0% 0.209 333.3);
Tailwind
colors: {
  custom: {
    50: '#d279c3',
    500: '#ba36aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba36aa;
$custom-light: #d279c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36aa",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 307.273,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5702,
    "c": 0.20883,
    "h": 333.3
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#BA36AA
secondary
#84C88C
accent
#DE5C49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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