#BA36A9#BA36A9

#BA36A9 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.208 H 333.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA36A9
RGBrgb(186, 54, 169)
HSLhsl(308, 55%, 47%)
HSVhsv(308, 71%, 73%)
CMYKcmyk(0%, 71%, 9.1%, 27.1%)
CIE-LABlab(46.90, 64.43, -33.70)
CIE-LCHlch(46.90, 72.71, 332.39°)
OKLaboklab(56.97% 0.1865 -0.0923)
OKLCHoklch(56.97% 0.208 333.7)
XYZxyz(28.7305, 15.9444, 39.0928)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36A9 #36BA47
analogous
#8936BA #BA36A9 #BA3667
triadic
#BA36A9 #A9BA36 #36A9BA
tetradic
#BA36A9 #BA8936 #36BA47 #3667BA
square
#BA36A9 #BA8936 #36BA47 #3667BA
split-complementary
#BA36A9 #67BA36 #36BA89
monochromatic
#5B1A53 #8B287E #BA36A9 #D05DC1 #DE8DD3

Accessibility & contrast

On white

5.01
#BA36A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BA36A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36A9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36A9#FFFFFF#000000##FFFFFF
##BA36A91.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AC
Deuteranopia (green-blind)
#6276A6
Tritanopia (blue-blind)
#C3426B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba36a9;
/* rgb */ color: rgb(186, 54, 169);
/* oklch */ color: oklch(57.0% 0.208 333.7);
Tailwind
colors: {
  custom: {
    50: '#d279c3',
    500: '#ba36a9',
    950: '#000000',
  },
}
SCSS
$custom: #ba36a9;
$custom-light: #d279c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36a9",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 169
  },
  "hsl": {
    "h": 307.727,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56968,
    "c": 0.2081,
    "h": 333.7
  },
  "luminance": 0.15942
}

Semantic roles & 50–950 ramp

primary
#BA36A9
secondary
#84C88C
accent
#DE5D49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA36A9

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

Preview Lab → · Contrast checker → · Palette generator →

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