#BA36B5#BA36B5

#BA36B5 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.217 H 329.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BA36B5
RGBrgb(186, 54, 181)
HSLhsl(302, 55%, 47%)
HSVhsv(302, 71%, 73%)
CMYKcmyk(0%, 71%, 2.7%, 27.1%)
CIE-LABlab(47.52, 66.31, -39.80)
CIE-LCHlch(47.52, 77.34, 329.03°)
OKLaboklab(57.61% 0.1872 -0.1099)
OKLCHoklch(57.61% 0.217 329.6)
XYZxyz(29.9091, 16.4159, 45.3004)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36B5 #36BA3B
analogous
#7D36BA #BA36B5 #BA3673
triadic
#BA36B5 #B5BA36 #36B5BA
tetradic
#BA36B5 #BA7D36 #36BA3B #3673BA
square
#BA36B5 #BA7D36 #36BA3B #3673BA
split-complementary
#BA36B5 #73BA36 #36BA7D
monochromatic
#5B1A59 #8B2887 #BA36B5 #D05DCC #DE8DDB

Accessibility & contrast

On white

4.90
#BA36B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA36B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36B5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36B5#FFFFFF#000000##FFFFFF
##BA36B51.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B9
Deuteranopia (green-blind)
#5C77B2
Tritanopia (blue-blind)
#C14872
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba36b5;
/* rgb */ color: rgb(186, 54, 181);
/* oklch */ color: oklch(57.6% 0.217 329.6);
Tailwind
colors: {
  custom: {
    50: '#d27acb',
    500: '#ba36b5',
    950: '#000000',
  },
}
SCSS
$custom: #ba36b5;
$custom-light: #d27acb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36b5",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 181
  },
  "hsl": {
    "h": 302.273,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57609,
    "c": 0.21703,
    "h": 329.6
  },
  "luminance": 0.16414
}

Semantic roles & 50–950 ramp

primary
#BA36B5
secondary
#84C886
accent
#DE4F49
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA36B5

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

Preview Lab → · Contrast checker → · Palette generator →

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