#BA36C3#BA36C3

#BA36C3 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.228 H 325.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA36C3
RGBrgb(186, 54, 195)
HSLhsl(296, 57%, 49%)
HSVhsv(296, 72%, 76%)
CMYKcmyk(4.6%, 72.3%, 0%, 23.5%)
CIE-LABlab(48.28, 68.63, -46.74)
CIE-LCHlch(48.28, 83.03, 325.74°)
OKLaboklab(58.41% 0.1871 -0.13)
OKLCHoklch(58.41% 0.228 325.2)
XYZxyz(31.4185, 17.0196, 53.2494)
Luminance0.1702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36C3 #3FC336
analogous
#7436C3 #BA36C3 #C33686
triadic
#BA36C3 #C3BA36 #36C3BA
tetradic
#BA36C3 #C37436 #3FC336 #3686C3
square
#BA36C3 #C37436 #3FC336 #3686C3
split-complementary
#BA36C3 #86C336 #36C374
monochromatic
#5F1B63 #8C2993 #BA36C3 #CC63D4 #DC92E1

Accessibility & contrast

On white

4.77
#BA36C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BA36C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36C3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36C3#FFFFFF#000000##FFFFFF
##BA36C31.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0668C7
Deuteranopia (green-blind)
#5478C0
Tritanopia (blue-blind)
#BE4E7A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba36c3;
/* rgb */ color: rgb(186, 54, 195);
/* oklch */ color: oklch(58.4% 0.228 325.2);
Tailwind
colors: {
  custom: {
    50: '#d37ad6',
    500: '#ba36c3',
    950: '#000000',
  },
}
SCSS
$custom: #ba36c3;
$custom-light: #d37ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36c3",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 296.17,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.22789,
    "h": 325.2
  },
  "luminance": 0.17018
}

Semantic roles & 50–950 ramp

primary
#BA36C3
secondary
#8DCC89
accent
#E04852
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA36C3

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

Preview Lab → · Contrast checker → · Palette generator →

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