#9D36C7#9D36C7

#9D36C7 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.220 H 314.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9D36C7
RGBrgb(157, 54, 199)
HSLhsl(283, 57%, 50%)
HSVhsv(283, 73%, 78%)
CMYKcmyk(21.1%, 72.9%, 0%, 22%)
CIE-LABlab(44.13, 63.41, -55.95)
CIE-LCHlch(44.13, 84.57, 318.58°)
OKLaboklab(54.65% 0.1528 -0.1579)
OKLCHoklch(54.65% 0.22 314.1)
XYZxyz(25.5308, 13.9308, 55.3658)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36C7 #60C736
analogous
#5536C7 #9D36C7 #C736A8
triadic
#9D36C7 #C79D36 #36C79D
tetradic
#9D36C7 #C75536 #60C736 #36A8C7
square
#9D36C7 #C75536 #60C736 #36A8C7
split-complementary
#9D36C7 #A8C736 #36C755
monochromatic
#511C67 #772997 #9D36C7 #B565D5 #CC95E2

Accessibility & contrast

On white

5.55
#9D36C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9D36C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D36C7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D36C7#FFFFFF#000000##FFFFFF
##9D36C71.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#2C6BC4
Tritanopia (blue-blind)
#99567C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d36c7;
/* rgb */ color: rgb(157, 54, 199);
/* oklch */ color: oklch(54.7% 0.220 314.1);
Tailwind
colors: {
  custom: {
    50: '#be77d9',
    500: '#9d36c7',
    950: '#000000',
  },
}
SCSS
$custom: #9d36c7;
$custom-light: #be77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36c7",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 199
  },
  "hsl": {
    "h": 282.621,
    "s": 57.312,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54654,
    "c": 0.21971,
    "h": 314.1
  },
  "luminance": 0.1393
}

Semantic roles & 50–950 ramp

primary
#9D36C7
secondary
#9ECE8B
accent
#E14774
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D36C7

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

Preview Lab → · Contrast checker → · Palette generator →

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