#BA36A5#BA36A5

#BA36A5 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.205 H 335.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BA36A5
RGBrgb(186, 54, 165)
HSLhsl(310, 55%, 47%)
HSVhsv(310, 71%, 73%)
CMYKcmyk(0%, 71%, 11.3%, 27.1%)
CIE-LABlab(46.71, 63.83, -31.63)
CIE-LCHlch(46.71, 71.24, 333.64°)
OKLaboklab(56.76% 0.1862 -0.0864)
OKLCHoklch(56.76% 0.205 335.1)
XYZxyz(28.3607, 15.7965, 37.1454)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36A5 #36BA4B
analogous
#8D36BA #BA36A5 #BA3663
triadic
#BA36A5 #A5BA36 #36A5BA
tetradic
#BA36A5 #BA8D36 #36BA4B #3663BA
square
#BA36A5 #BA8D36 #36BA4B #3663BA
split-complementary
#BA36A5 #63BA36 #36BA8D
monochromatic
#5B1A51 #8B287B #BA36A5 #D05DBE #DE8DD1

Accessibility & contrast

On white

5.05
#BA36A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BA36A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36A5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36A5#FFFFFF#000000##FFFFFF
##BA36A51.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A8
Deuteranopia (green-blind)
#6476A2
Tritanopia (blue-blind)
#C34069
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba36a5;
/* rgb */ color: rgb(186, 54, 165);
/* oklch */ color: oklch(56.8% 0.205 335.1);
Tailwind
colors: {
  custom: {
    50: '#d279c0',
    500: '#ba36a5',
    950: '#000000',
  },
}
SCSS
$custom: #ba36a5;
$custom-light: #d279c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36a5",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 309.545,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.20523,
    "h": 335.1
  },
  "luminance": 0.15794
}

Semantic roles & 50–950 ramp

primary
#BA36A5
secondary
#84C88F
accent
#DE6149
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA36A5

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

Preview Lab → · Contrast checker → · Palette generator →

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