#BA36C1#BA36C1

#BA36C1 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.226 H 325.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA36C1
RGBrgb(186, 54, 193)
HSLhsl(297, 56%, 48%)
HSVhsv(297, 72%, 76%)
CMYKcmyk(3.6%, 72%, 0%, 24.3%)
CIE-LABlab(48.17, 68.29, -45.76)
CIE-LCHlch(48.17, 82.20, 326.18°)
OKLaboklab(58.29% 0.1872 -0.1272)
OKLCHoklch(58.29% 0.226 325.8)
XYZxyz(31.1939, 16.9298, 52.0665)
Luminance0.1693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36C1 #3DC136
analogous
#7436C1 #BA36C1 #C13682
triadic
#BA36C1 #C1BA36 #36C1BA
tetradic
#BA36C1 #C17436 #3DC136 #3682C1
square
#BA36C1 #C17436 #3DC136 #3682C1
split-complementary
#BA36C1 #82C136 #36C174
monochromatic
#5E1B61 #8C2991 #BA36C1 #CD61D3 #DC91E0

Accessibility & contrast

On white

4.79
#BA36C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA36C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36C1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36C1#FFFFFF#000000##FFFFFF
##BA36C11.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E68C5
Deuteranopia (green-blind)
#5578BE
Tritanopia (blue-blind)
#BF4D79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba36c1;
/* rgb */ color: rgb(186, 54, 193);
/* oklch */ color: oklch(58.3% 0.226 325.8);
Tailwind
colors: {
  custom: {
    50: '#d37ad4',
    500: '#ba36c1',
    950: '#000000',
  },
}
SCSS
$custom: #ba36c1;
$custom-light: #d37ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36c1",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 193
  },
  "hsl": {
    "h": 296.978,
    "s": 56.275,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.22632,
    "h": 325.8
  },
  "luminance": 0.16928
}

Semantic roles & 50–950 ramp

primary
#BA36C1
secondary
#8BCB88
accent
#E04850
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA36C1

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

Preview Lab → · Contrast checker → · Palette generator →

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