#BA36AD#BA36AD

#BA36AD is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.211 H 332.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA36AD
RGBrgb(186, 54, 173)
HSLhsl(306, 55%, 47%)
HSVhsv(306, 71%, 73%)
CMYKcmyk(0%, 71%, 7%, 27.1%)
CIE-LABlab(47.10, 65.05, -35.75)
CIE-LCHlch(47.10, 74.22, 331.21°)
OKLaboklab(57.18% 0.1868 -0.0982)
OKLCHoklch(57.18% 0.211 332.3)
XYZxyz(29.1118, 16.0969, 41.1008)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36AD #36BA43
analogous
#8536BA #BA36AD #BA366B
triadic
#BA36AD #ADBA36 #36ADBA
tetradic
#BA36AD #BA8536 #36BA43 #366BBA
square
#BA36AD #BA8536 #36BA43 #366BBA
split-complementary
#BA36AD #6BBA36 #36BA85
monochromatic
#5B1A55 #8B2881 #BA36AD #D05DC5 #DE8DD6

Accessibility & contrast

On white

4.98
#BA36AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA36AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36AD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36AD#FFFFFF#000000##FFFFFF
##BA36AD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B0
Deuteranopia (green-blind)
#6076AA
Tritanopia (blue-blind)
#C2446E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba36ad;
/* rgb */ color: rgb(186, 54, 173);
/* oklch */ color: oklch(57.2% 0.211 332.3);
Tailwind
colors: {
  custom: {
    50: '#d279c6',
    500: '#ba36ad',
    950: '#000000',
  },
}
SCSS
$custom: #ba36ad;
$custom-light: #d279c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36ad",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 173
  },
  "hsl": {
    "h": 305.909,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57177,
    "c": 0.21103,
    "h": 332.3
  },
  "luminance": 0.16095
}

Semantic roles & 50–950 ramp

primary
#BA36AD
secondary
#84C88A
accent
#DE5849
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA36AD

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

Preview Lab → · Contrast checker → · Palette generator →

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