#9D36BB#9D36BB

#9D36BB is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.8% C 0.209 H 317.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9D36BB
RGBrgb(157, 54, 187)
HSLhsl(286, 55%, 47%)
HSVhsv(286, 71%, 73%)
CMYKcmyk(16%, 71.1%, 0%, 26.7%)
CIE-LABlab(43.35, 61.04, -50.21)
CIE-LCHlch(43.35, 79.04, 320.56°)
OKLaboklab(53.85% 0.1541 -0.1411)
OKLCHoklch(53.85% 0.209 317.5)
XYZxyz(24.1921, 13.3953, 48.3153)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36BB #54BB36
analogous
#5A36BB #9D36BB #BB3697
triadic
#9D36BB #BB9D36 #36BB9D
tetradic
#9D36BB #BB5A36 #54BB36 #3697BB
square
#9D36BB #BB5A36 #54BB36 #3697BB
split-complementary
#9D36BB #97BB36 #36BB5A
monochromatic
#4D1B5C #75288C #9D36BB #B75ED0 #CC8DDE

Accessibility & contrast

On white

5.71
#9D36BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9D36BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D36BB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D36BB#FFFFFF#000000##FFFFFF
##9D36BB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#9C5175
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d36bb;
/* rgb */ color: rgb(157, 54, 187);
/* oklch */ color: oklch(53.8% 0.209 317.5);
Tailwind
colors: {
  custom: {
    50: '#be76d0',
    500: '#9d36bb',
    950: '#000000',
  },
}
SCSS
$custom: #9d36bb;
$custom-light: #be76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36bb",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 286.466,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.20889,
    "h": 317.5
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#9D36BB
secondary
#94C984
accent
#DF496B
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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