#BA36AE#BA36AE

#BA36AE is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.212 H 331.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BA36AE
RGBrgb(186, 54, 174)
HSLhsl(305, 55%, 47%)
HSVhsv(305, 71%, 73%)
CMYKcmyk(0%, 71%, 6.5%, 27.1%)
CIE-LABlab(47.15, 65.21, -36.26)
CIE-LCHlch(47.15, 74.61, 330.93°)
OKLaboklab(57.23% 0.1869 -0.0996)
OKLCHoklch(57.23% 0.212 331.9)
XYZxyz(29.2089, 16.1358, 41.6123)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36AE #36BA42
analogous
#8436BA #BA36AE #BA366C
triadic
#BA36AE #AEBA36 #36AEBA
tetradic
#BA36AE #BA8436 #36BA42 #366CBA
square
#BA36AE #BA8436 #36BA42 #366CBA
split-complementary
#BA36AE #6CBA36 #36BA84
monochromatic
#5B1A55 #8B2882 #BA36AE #D05DC6 #DE8DD6

Accessibility & contrast

On white

4.97
#BA36AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BA36AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36AE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36AE#FFFFFF#000000##FFFFFF
##BA36AE1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#5F76AB
Tritanopia (blue-blind)
#C2446E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba36ae;
/* rgb */ color: rgb(186, 54, 174);
/* oklch */ color: oklch(57.2% 0.212 331.9);
Tailwind
colors: {
  custom: {
    50: '#d279c6',
    500: '#ba36ae',
    950: '#000000',
  },
}
SCSS
$custom: #ba36ae;
$custom-light: #d279c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36ae",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 305.455,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5723,
    "c": 0.21177,
    "h": 331.9
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#BA36AE
secondary
#84C88A
accent
#DE5749
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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