#9E36B2#9E36B2

#9E36B2 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.4% C 0.201 H 320.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9E36B2
RGBrgb(158, 54, 178)
HSLhsl(290, 53%, 45%)
HSVhsv(290, 70%, 70%)
CMYKcmyk(11.2%, 69.7%, 0%, 30.2%)
CIE-LABlab(42.95, 59.53, -45.56)
CIE-LCHlch(42.95, 74.97, 322.57°)
OKLaboklab(53.41% 0.1558 -0.1274)
OKLCHoklch(53.41% 0.201 320.7)
XYZxyz(23.4547, 13.1230, 43.4084)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E36B2 #4AB236
analogous
#6036B2 #9E36B2 #B23688
triadic
#9E36B2 #B29E36 #36B29E
tetradic
#9E36B2 #B26036 #4AB236 #3688B2
square
#9E36B2 #B26036 #4AB236 #3688B2
split-complementary
#9E36B2 #88B236 #36B260
monochromatic
#4B1A54 #742883 #9E36B2 #BA59CD #CD88DB

Accessibility & contrast

On white

5.79
#9E36B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9E36B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E36B2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E36B2#FFFFFF#000000##FFFFFF
##9E36B21.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#4369AF
Tritanopia (blue-blind)
#9F4D70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e36b2;
/* rgb */ color: rgb(158, 54, 178);
/* oklch */ color: oklch(53.4% 0.201 320.7);
Tailwind
colors: {
  custom: {
    50: '#be76ca',
    500: '#9e36b2',
    950: '#000000',
  },
}
SCSS
$custom: #9e36b2;
$custom-light: #be76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9e36b2",
  "rgb": {
    "r": 158,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 290.323,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.2013,
    "h": 320.7
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#9E36B2
secondary
#8AC57F
accent
#DD4B62
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9E36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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