#9D36C9#9D36C9

#9D36C9 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.222 H 313.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9D36C9
RGBrgb(157, 54, 201)
HSLhsl(282, 58%, 50%)
HSVhsv(282, 73%, 79%)
CMYKcmyk(21.9%, 73.1%, 0%, 21.2%)
CIE-LABlab(44.27, 63.82, -56.90)
CIE-LCHlch(44.27, 85.50, 318.28°)
OKLaboklab(54.79% 0.1525 -0.1607)
OKLCHoklch(54.79% 0.222 313.5)
XYZxyz(25.7646, 14.0243, 56.5968)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36C9 #62C936
analogous
#5436C9 #9D36C9 #C936AB
triadic
#9D36C9 #C99D36 #36C99D
tetradic
#9D36C9 #C95436 #62C936 #36ABC9
square
#9D36C9 #C95436 #62C936 #36ABC9
split-complementary
#9D36C9 #ABC936 #36C954
monochromatic
#521C69 #772999 #9D36C9 #B566D6 #CC96E3

Accessibility & contrast

On white

5.52
#9D36C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9D36C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D36C9
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D36C9#FFFFFF#000000##FFFFFF
##9D36C91.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#296BC6
Tritanopia (blue-blind)
#98567D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d36c9;
/* rgb */ color: rgb(157, 54, 201);
/* oklch */ color: oklch(54.8% 0.222 313.5);
Tailwind
colors: {
  custom: {
    50: '#be77da',
    500: '#9d36c9',
    950: '#000000',
  },
}
SCSS
$custom: #9d36c9;
$custom-light: #be77da;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36c9",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 201
  },
  "hsl": {
    "h": 282.041,
    "s": 57.647,
    "l": 50
  },
  "oklch": {
    "l": 0.54792,
    "c": 0.22153,
    "h": 313.5
  },
  "luminance": 0.14023
}

Semantic roles & 50–950 ramp

primary
#9D36C9
secondary
#A0CE8C
accent
#E14775
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D36C9

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

Preview Lab → · Contrast checker → · Palette generator →

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