#BA36C5#BA36C5

#BA36C5 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.5% C 0.229 H 324.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BA36C5
RGBrgb(186, 54, 197)
HSLhsl(295, 57%, 49%)
HSVhsv(295, 73%, 77%)
CMYKcmyk(5.6%, 72.6%, 0%, 22.7%)
CIE-LABlab(48.40, 68.97, -47.71)
CIE-LCHlch(48.40, 83.86, 325.32°)
OKLaboklab(58.53% 0.1871 -0.1329)
OKLCHoklch(58.53% 0.229 324.6)
XYZxyz(31.6461, 17.1107, 54.4483)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36C5 #41C536
analogous
#7336C5 #BA36C5 #C53688
triadic
#BA36C5 #C5BA36 #36C5BA
tetradic
#BA36C5 #C57336 #41C536 #3688C5
square
#BA36C5 #C57336 #41C536 #3688C5
split-complementary
#BA36C5 #88C536 #36C573
monochromatic
#5F1C65 #8D2995 #BA36C5 #CC64D4 #DC94E2

Accessibility & contrast

On white

4.75
#BA36C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BA36C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36C5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36C5#FFFFFF#000000##FFFFFF
##BA36C51.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#5278C2
Tritanopia (blue-blind)
#BE4F7B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba36c5;
/* rgb */ color: rgb(186, 54, 197);
/* oklch */ color: oklch(58.5% 0.229 324.6);
Tailwind
colors: {
  custom: {
    50: '#d37ad7',
    500: '#ba36c5',
    950: '#000000',
  },
}
SCSS
$custom: #ba36c5;
$custom-light: #d37ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36c5",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 295.385,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58527,
    "c": 0.22948,
    "h": 324.6
  },
  "luminance": 0.17109
}

Semantic roles & 50–950 ramp

primary
#BA36C5
secondary
#8FCD8A
accent
#E04853
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA36C5

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

Preview Lab → · Contrast checker → · Palette generator →

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