#BA36B9#BA36B9

#BA36B9 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.220 H 328.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA36B9
RGBrgb(186, 54, 185)
HSLhsl(300, 55%, 47%)
HSVhsv(300, 71%, 73%)
CMYKcmyk(0%, 71%, 0.5%, 27.1%)
CIE-LABlab(47.73, 66.96, -41.80)
CIE-LCHlch(47.73, 78.94, 328.03°)
OKLaboklab(57.83% 0.1872 -0.1157)
OKLCHoklch(57.83% 0.22 328.3)
XYZxyz(30.3255, 16.5824, 47.4930)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36B9 #36BA37
analogous
#7936BA #BA36B9 #BA3677
triadic
#BA36B9 #B9BA36 #36B9BA
tetradic
#BA36B9 #BA7936 #36BA37 #3677BA
square
#BA36B9 #BA7936 #36BA37 #3677BA
split-complementary
#BA36B9 #77BA36 #36BA79
monochromatic
#5B1A5B #8B288A #BA36B9 #D05DCF #DE8DDD

Accessibility & contrast

On white

4.87
#BA36B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BA36B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36B9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36B9#FFFFFF#000000##FFFFFF
##BA36B91.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2066BD
Deuteranopia (green-blind)
#5A77B6
Tritanopia (blue-blind)
#C04974
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba36b9;
/* rgb */ color: rgb(186, 54, 185);
/* oklch */ color: oklch(57.8% 0.220 328.3);
Tailwind
colors: {
  custom: {
    50: '#d27ace',
    500: '#ba36b9',
    950: '#000000',
  },
}
SCSS
$custom: #ba36b9;
$custom-light: #d27ace;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36b9",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 300.455,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57832,
    "c": 0.2201,
    "h": 328.3
  },
  "luminance": 0.1658
}

Semantic roles & 50–950 ramp

primary
#BA36B9
secondary
#84C884
accent
#DE4B49
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA36B9

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

Preview Lab → · Contrast checker → · Palette generator →

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