#9D36B0#9D36B0

#9D36B0 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.199 H 321.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9D36B0
RGBrgb(157, 54, 176)
HSLhsl(291, 53%, 45%)
HSVhsv(291, 69%, 69%)
CMYKcmyk(10.8%, 69.3%, 0%, 31%)
CIE-LABlab(42.68, 58.93, -44.83)
CIE-LCHlch(42.68, 74.04, 322.74°)
OKLaboklab(53.15% 0.1547 -0.1253)
OKLCHoklch(53.15% 0.199 321)
XYZxyz(23.0594, 12.9422, 42.3494)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36B0 #49B036
analogous
#6036B0 #9D36B0 #B03686
triadic
#9D36B0 #B09D36 #36B09D
tetradic
#9D36B0 #B06036 #49B036 #3686B0
square
#9D36B0 #B06036 #49B036 #3686B0
split-complementary
#9D36B0 #86B036 #36B060
monochromatic
#491952 #732881 #9D36B0 #BA58CC #CD86DA

Accessibility & contrast

On white

5.85
#9D36B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9D36B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D36B0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D36B0#FFFFFF#000000##FFFFFF
##9D36B01.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045DB4
Deuteranopia (green-blind)
#4368AD
Tritanopia (blue-blind)
#9E4C6F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d36b0;
/* rgb */ color: rgb(157, 54, 176);
/* oklch */ color: oklch(53.1% 0.199 321.0);
Tailwind
colors: {
  custom: {
    50: '#bd76c8',
    500: '#9d36b0',
    950: '#000000',
  },
}
SCSS
$custom: #9d36b0;
$custom-light: #bd76c8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36b0",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 176
  },
  "hsl": {
    "h": 290.656,
    "s": 53.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.1991,
    "h": 321
  },
  "luminance": 0.12941
}

Semantic roles & 50–950 ramp

primary
#9D36B0
secondary
#89C47E
accent
#DC4B62
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D36B0

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

Preview Lab → · Contrast checker → · Palette generator →

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