#BA36CD#BA36CD

#BA36CD is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.0% C 0.236 H 322.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA36CD
RGBrgb(186, 54, 205)
HSLhsl(292, 60%, 51%)
HSVhsv(292, 74%, 80%)
CMYKcmyk(9.3%, 73.7%, 0%, 19.6%)
CIE-LABlab(48.87, 70.35, -51.58)
CIE-LCHlch(48.87, 87.23, 323.75°)
OKLaboklab(59.01% 0.1867 -0.1442)
OKLCHoklch(59.01% 0.236 322.3)
XYZxyz(32.5872, 17.4871, 59.4047)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36CD #49CD36
analogous
#6E36CD #BA36CD #CD3695
triadic
#BA36CD #CDBA36 #36CDBA
tetradic
#BA36CD #CD6E36 #49CD36 #3695CD
square
#BA36CD #CD6E36 #49CD36 #3695CD
split-complementary
#BA36CD #95CD36 #36CD6E
monochromatic
#631B6D #8F279E #BA36CD #CB67D9 #DC98E5

Accessibility & contrast

On white

4.67
#BA36CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA36CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA36CD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36CD#FFFFFF#000000##FFFFFF
##BA36CD1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#4C79C9
Tritanopia (blue-blind)
#BC537F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba36cd;
/* rgb */ color: rgb(186, 54, 205);
/* oklch */ color: oklch(59.0% 0.236 322.3);
Tailwind
colors: {
  custom: {
    50: '#d37add',
    500: '#ba36cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba36cd;
$custom-light: #d37add;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36cd",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 292.45,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59011,
    "c": 0.23586,
    "h": 322.3
  },
  "luminance": 0.17485
}

Semantic roles & 50–950 ramp

primary
#BA36CD
secondary
#96D18E
accent
#E34458
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BA36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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