#BA36BF#BA36BF

#BA36BF is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.225 H 326.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA36BF
RGBrgb(186, 54, 191)
HSLhsl(298, 56%, 48%)
HSVhsv(298, 72%, 75%)
CMYKcmyk(2.6%, 71.7%, 0%, 25.1%)
CIE-LABlab(48.06, 67.95, -44.77)
CIE-LCHlch(48.06, 81.38, 326.62°)
OKLaboklab(58.17% 0.1872 -0.1243)
OKLCHoklch(58.17% 0.225 326.4)
XYZxyz(30.9723, 16.8411, 50.8995)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36BF #3BBF36
analogous
#7536BF #BA36BF #BF367F
triadic
#BA36BF #BFBA36 #36BFBA
tetradic
#BA36BF #BF7536 #3BBF36 #367FBF
square
#BA36BF #BF7536 #3BBF36 #367FBF
split-complementary
#BA36BF #7FBF36 #36BF75
monochromatic
#5D1B60 #8C298F #BA36BF #CE60D2 #DD90E0

Accessibility & contrast

On white

4.81
#BA36BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BA36BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36BF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36BF#FFFFFF#000000##FFFFFF
##BA36BF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C3
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#BF4C78
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba36bf;
/* rgb */ color: rgb(186, 54, 191);
/* oklch */ color: oklch(58.2% 0.225 326.4);
Tailwind
colors: {
  custom: {
    50: '#d37ad3',
    500: '#ba36bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba36bf;
$custom-light: #d37ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36bf",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 297.81,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58174,
    "c": 0.22475,
    "h": 326.4
  },
  "luminance": 0.16839
}

Semantic roles & 50–950 ramp

primary
#BA36BF
secondary
#89CA87
accent
#DF494E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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