#9D36CD#9D36CD

#9D36CD is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.225 H 312.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9D36CD
RGBrgb(157, 54, 205)
HSLhsl(281, 60%, 51%)
HSVhsv(281, 74%, 80%)
CMYKcmyk(23.4%, 73.7%, 0%, 19.6%)
CIE-LABlab(44.54, 64.63, -58.77)
CIE-LCHlch(44.54, 87.36, 317.72°)
OKLaboklab(55.07% 0.152 -0.1662)
OKLCHoklch(55.07% 0.225 312.4)
XYZxyz(26.2412, 14.2150, 59.1072)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36CD #66CD36
analogous
#5136CD #9D36CD #CD36B1
triadic
#9D36CD #CD9D36 #36CD9D
tetradic
#9D36CD #CD5136 #66CD36 #36B1CD
square
#9D36CD #CD5136 #66CD36 #36B1CD
split-complementary
#9D36CD #B1CD36 #36CD51
monochromatic
#531B6D #79279E #9D36CD #B567D9 #CD98E5

Accessibility & contrast

On white

5.46
#9D36CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9D36CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D36CD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D36CD#FFFFFF#000000##FFFFFF
##9D36CD1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#236BCA
Tritanopia (blue-blind)
#97587F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d36cd;
/* rgb */ color: rgb(157, 54, 205);
/* oklch */ color: oklch(55.1% 0.225 312.4);
Tailwind
colors: {
  custom: {
    50: '#bf77dd',
    500: '#9d36cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d36cd;
$custom-light: #bf77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36cd",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 280.927,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5507,
    "c": 0.22518,
    "h": 312.4
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#9D36CD
secondary
#A3D18E
accent
#E34477
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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