#9E36B4#9E36B4

#9E36B4 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.5% C 0.203 H 320.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9E36B4
RGBrgb(158, 54, 180)
HSLhsl(290, 54%, 46%)
HSVhsv(290, 70%, 71%)
CMYKcmyk(12.2%, 70%, 0%, 29.4%)
CIE-LABlab(43.07, 59.91, -46.55)
CIE-LCHlch(43.07, 75.87, 322.15°)
OKLaboklab(53.54% 0.1557 -0.1303)
OKLCHoklch(53.54% 0.203 320.1)
XYZxyz(23.6569, 13.2039, 44.4737)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E36B4 #4CB436
analogous
#5F36B4 #9E36B4 #B4368B
triadic
#9E36B4 #B49E36 #36B49E
tetradic
#9E36B4 #B45F36 #4CB436 #368BB4
square
#9E36B4 #B45F36 #4CB436 #368BB4
split-complementary
#9E36B4 #8BB436 #36B45F
monochromatic
#4B1A56 #752885 #9E36B4 #B95ACD #CD89DC

Accessibility & contrast

On white

5.77
#9E36B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9E36B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E36B4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E36B4#FFFFFF#000000##FFFFFF
##9E36B41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#4169B1
Tritanopia (blue-blind)
#9F4D71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9e36b4;
/* rgb */ color: rgb(158, 54, 180);
/* oklch */ color: oklch(53.5% 0.203 320.1);
Tailwind
colors: {
  custom: {
    50: '#be76cb',
    500: '#9e36b4',
    950: '#000000',
  },
}
SCSS
$custom: #9e36b4;
$custom-light: #be76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e36b4",
  "rgb": {
    "r": 158,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 289.524,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.20306,
    "h": 320.1
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#9E36B4
secondary
#8CC680
accent
#DD4B64
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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