#9E36BC#9E36BC

#9E36BC is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.210 H 317.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9E36BC
RGBrgb(158, 54, 188)
HSLhsl(287, 55%, 47%)
HSVhsv(287, 71%, 74%)
CMYKcmyk(16%, 71.3%, 0%, 26.3%)
CIE-LABlab(43.56, 61.44, -50.45)
CIE-LCHlch(43.56, 79.50, 320.61°)
OKLaboklab(54.05% 0.1552 -0.1417)
OKLCHoklch(54.05% 0.21 317.6)
XYZxyz(24.4955, 13.5393, 48.8903)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E36BC #54BC36
analogous
#5B36BC #9E36BC #BC3697
triadic
#9E36BC #BC9E36 #36BC9E
tetradic
#9E36BC #BC5B36 #54BC36 #3697BC
square
#9E36BC #BC5B36 #54BC36 #3697BC
split-complementary
#9E36BC #97BC36 #36BC5B
monochromatic
#4E1B5D #76288C #9E36BC #B75ED1 #CC8EDF

Accessibility & contrast

On white

5.66
#9E36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9E36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E36BC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E36BC#FFFFFF#000000##FFFFFF
##9E36BC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#9D5176
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9e36bc;
/* rgb */ color: rgb(158, 54, 188);
/* oklch */ color: oklch(54.1% 0.210 317.6);
Tailwind
colors: {
  custom: {
    50: '#be76d1',
    500: '#9e36bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e36bc;
$custom-light: #be76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e36bc",
  "rgb": {
    "r": 158,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 286.567,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.21017,
    "h": 317.6
  },
  "luminance": 0.13538
}

Semantic roles & 50–950 ramp

primary
#9E36BC
secondary
#94C985
accent
#DF496B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9E36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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