#9E36AC#9E36AC

#9E36AC is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.196 H 322.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9E36AC
RGBrgb(158, 54, 172)
HSLhsl(293, 52%, 44%)
HSVhsv(293, 69%, 67%)
CMYKcmyk(8.1%, 68.6%, 0%, 32.5%)
CIE-LABlab(42.59, 58.41, -42.58)
CIE-LCHlch(42.59, 72.29, 323.91°)
OKLaboklab(53.04% 0.156 -0.1187)
OKLCHoklch(53.04% 0.196 322.7)
XYZxyz(22.8654, 12.8873, 40.3048)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E36AC #44AC36
analogous
#6336AC #9E36AC #AC367F
triadic
#9E36AC #AC9E36 #36AC9E
tetradic
#9E36AC #AC6336 #44AC36 #367FAC
square
#9E36AC #AC6336 #44AC36 #367FAC
split-complementary
#9E36AC #7FAC36 #36AC63
monochromatic
#48194F #73277D #9E36AC #BC55CA #CE84D8

Accessibility & contrast

On white

5.87
#9E36AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9E36AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E36AC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E36AC#FFFFFF#000000##FFFFFF
##9E36AC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135DAF
Deuteranopia (green-blind)
#4769A9
Tritanopia (blue-blind)
#A04A6D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e36ac;
/* rgb */ color: rgb(158, 54, 172);
/* oklch */ color: oklch(53.0% 0.196 322.7);
Tailwind
colors: {
  custom: {
    50: '#be76c5',
    500: '#9e36ac',
    950: '#000000',
  },
}
SCSS
$custom: #9e36ac;
$custom-light: #be76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e36ac",
  "rgb": {
    "r": 158,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 292.881,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.19604,
    "h": 322.7
  },
  "luminance": 0.12886
}

Semantic roles & 50–950 ramp

primary
#9E36AC
secondary
#84C27C
accent
#DC4C5D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E36AC

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

Preview Lab → · Contrast checker → · Palette generator →

#9E36AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva