#BA36BE#BA36BE

#BA36BE is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.224 H 326.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA36BE
RGBrgb(186, 54, 190)
HSLhsl(298, 56%, 48%)
HSVhsv(298, 72%, 75%)
CMYKcmyk(2.1%, 71.6%, 0%, 25.5%)
CIE-LABlab(48.00, 67.79, -44.28)
CIE-LCHlch(48.00, 80.97, 326.85°)
OKLaboklab(58.12% 0.1872 -0.1229)
OKLCHoklch(58.12% 0.224 326.7)
XYZxyz(30.8626, 16.7973, 50.3219)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36BE #3ABE36
analogous
#7636BE #BA36BE #BE367E
triadic
#BA36BE #BEBA36 #36BEBA
tetradic
#BA36BE #BE7636 #3ABE36 #367EBE
square
#BA36BE #BE7636 #3ABE36 #367EBE
split-complementary
#BA36BE #7EBE36 #36BE76
monochromatic
#5D1B5F #8B288E #BA36BE #CE60D2 #DD8FDF

Accessibility & contrast

On white

4.82
#BA36BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BA36BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36BE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36BE#FFFFFF#000000##FFFFFF
##BA36BE1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1667C2
Deuteranopia (green-blind)
#5778BB
Tritanopia (blue-blind)
#BF4C77
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba36be;
/* rgb */ color: rgb(186, 54, 190);
/* oklch */ color: oklch(58.1% 0.224 326.7);
Tailwind
colors: {
  custom: {
    50: '#d37ad2',
    500: '#ba36be',
    950: '#000000',
  },
}
SCSS
$custom: #ba36be;
$custom-light: #d37ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36be",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 298.235,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58117,
    "c": 0.22397,
    "h": 326.7
  },
  "luminance": 0.16795
}

Semantic roles & 50–950 ramp

primary
#BA36BE
secondary
#88CA86
accent
#DF494D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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