#9D36CC#9D36CC

#9D36CC is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.224 H 312.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9D36CC
RGBrgb(157, 54, 204)
HSLhsl(281, 60%, 51%)
HSVhsv(281, 74%, 80%)
CMYKcmyk(23%, 73.5%, 0%, 20%)
CIE-LABlab(44.47, 64.43, -58.31)
CIE-LCHlch(44.47, 86.89, 317.85°)
OKLaboklab(55% 0.1521 -0.1648)
OKLCHoklch(55% 0.224 312.7)
XYZxyz(26.1209, 14.1668, 58.4735)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36CC #65CC36
analogous
#5236CC #9D36CC #CC36B0
triadic
#9D36CC #CC9D36 #36CC9D
tetradic
#9D36CC #CC5236 #65CC36 #36B0CC
square
#9D36CC #CC5236 #65CC36 #36B0CC
split-complementary
#9D36CC #B0CC36 #36CC52
monochromatic
#531B6C #78289D #9D36CC #B567D8 #CD98E5

Accessibility & contrast

On white

5.48
#9D36CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9D36CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D36CC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D36CC#FFFFFF#000000##FFFFFF
##9D36CC1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#246BC9
Tritanopia (blue-blind)
#98587F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d36cc;
/* rgb */ color: rgb(157, 54, 204);
/* oklch */ color: oklch(55.0% 0.224 312.7);
Tailwind
colors: {
  custom: {
    50: '#bf77dc',
    500: '#9d36cc',
    950: '#000000',
  },
}
SCSS
$custom: #9d36cc;
$custom-light: #bf77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36cc",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 281.2,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55,
    "c": 0.22425,
    "h": 312.7
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#9D36CC
secondary
#A2D08E
accent
#E34576
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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