#BA36AF#BA36AF

#BA36AF is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.213 H 331.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA36AF
RGBrgb(186, 54, 175)
HSLhsl(305, 55%, 47%)
HSVhsv(305, 71%, 73%)
CMYKcmyk(0%, 71%, 5.9%, 27.1%)
CIE-LABlab(47.20, 65.36, -36.76)
CIE-LCHlch(47.20, 74.99, 330.64°)
OKLaboklab(57.28% 0.1869 -0.1011)
OKLCHoklch(57.28% 0.213 331.6)
XYZxyz(29.3067, 16.1749, 42.1277)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36AF #36BA41
analogous
#8336BA #BA36AF #BA366D
triadic
#BA36AF #AFBA36 #36AFBA
tetradic
#BA36AF #BA8336 #36BA41 #366DBA
square
#BA36AF #BA8336 #36BA41 #366DBA
split-complementary
#BA36AF #6DBA36 #36BA83
monochromatic
#5B1A56 #8B2882 #BA36AF #D05DC6 #DE8DD7

Accessibility & contrast

On white

4.96
#BA36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BA36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36AF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36AF#FFFFFF#000000##FFFFFF
##BA36AF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#5F76AC
Tritanopia (blue-blind)
#C2456F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba36af;
/* rgb */ color: rgb(186, 54, 175);
/* oklch */ color: oklch(57.3% 0.213 331.6);
Tailwind
colors: {
  custom: {
    50: '#d279c7',
    500: '#ba36af',
    950: '#000000',
  },
}
SCSS
$custom: #ba36af;
$custom-light: #d279c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36af",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 305,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.21252,
    "h": 331.6
  },
  "luminance": 0.16173
}

Semantic roles & 50–950 ramp

primary
#BA36AF
secondary
#84C889
accent
#DE5649
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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