#BA36B8#BA36B8

#BA36B8 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.219 H 328.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA36B8
RGBrgb(186, 54, 184)
HSLhsl(301, 55%, 47%)
HSVhsv(301, 71%, 73%)
CMYKcmyk(0%, 71%, 1.1%, 27.1%)
CIE-LABlab(47.68, 66.80, -41.30)
CIE-LCHlch(47.68, 78.54, 328.27°)
OKLaboklab(57.78% 0.1872 -0.1142)
OKLCHoklch(57.78% 0.219 328.6)
XYZxyz(30.2203, 16.5403, 46.9390)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36B8 #36BA38
analogous
#7A36BA #BA36B8 #BA3676
triadic
#BA36B8 #B8BA36 #36B8BA
tetradic
#BA36B8 #BA7A36 #36BA38 #3676BA
square
#BA36B8 #BA7A36 #36BA38 #3676BA
split-complementary
#BA36B8 #76BA36 #36BA7A
monochromatic
#5B1A5A #8B2889 #BA36B8 #D05DCE #DE8DDD

Accessibility & contrast

On white

4.88
#BA36B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA36B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36B8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36B8#FFFFFF#000000##FFFFFF
##BA36B81.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2166BC
Deuteranopia (green-blind)
#5A77B5
Tritanopia (blue-blind)
#C04974
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba36b8;
/* rgb */ color: rgb(186, 54, 184);
/* oklch */ color: oklch(57.8% 0.219 328.6);
Tailwind
colors: {
  custom: {
    50: '#d27ace',
    500: '#ba36b8',
    950: '#000000',
  },
}
SCSS
$custom: #ba36b8;
$custom-light: #d27ace;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36b8",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 300.909,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57776,
    "c": 0.21932,
    "h": 328.6
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#BA36B8
secondary
#84C885
accent
#DE4C49
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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