#9D36C0#9D36C0

#9D36C0 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.213 H 316.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9D36C0
RGBrgb(157, 54, 192)
HSLhsl(285, 56%, 48%)
HSVhsv(285, 72%, 75%)
CMYKcmyk(18.2%, 71.9%, 0%, 24.7%)
CIE-LABlab(43.67, 62.02, -52.62)
CIE-LCHlch(43.67, 81.34, 319.69°)
OKLaboklab(54.18% 0.1536 -0.1481)
OKLCHoklch(54.18% 0.213 316)
XYZxyz(24.7367, 13.6132, 51.1835)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36C0 #59C036
analogous
#5836C0 #9D36C0 #C0369E
triadic
#9D36C0 #C09D36 #36C09D
tetradic
#9D36C0 #C05836 #59C036 #369EC0
square
#9D36C0 #C05836 #59C036 #369EC0
split-complementary
#9D36C0 #9EC036 #36C058
monochromatic
#4F1B60 #762990 #9D36C0 #B661D2 #CC90E0

Accessibility & contrast

On white

5.64
#9D36C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9D36C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D36C0
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D36C0#FFFFFF#000000##FFFFFF
##9D36C01.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#356ABD
Tritanopia (blue-blind)
#9B5378
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d36c0;
/* rgb */ color: rgb(157, 54, 192);
/* oklch */ color: oklch(54.2% 0.213 316.0);
Tailwind
colors: {
  custom: {
    50: '#be77d4',
    500: '#9d36c0',
    950: '#000000',
  },
}
SCSS
$custom: #9d36c0;
$custom-light: #be77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36c0",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 192
  },
  "hsl": {
    "h": 284.783,
    "s": 56.098,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5418,
    "c": 0.21338,
    "h": 316
  },
  "luminance": 0.13612
}

Semantic roles & 50–950 ramp

primary
#9D36C0
secondary
#98CB87
accent
#DF486F
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D36C0

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

Preview Lab → · Contrast checker → · Palette generator →

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