#9D36B2#9D36B2

#9D36B2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.201 H 320.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9D36B2
RGBrgb(157, 54, 178)
HSLhsl(290, 53%, 45%)
HSVhsv(290, 70%, 70%)
CMYKcmyk(11.8%, 69.7%, 0%, 30.2%)
CIE-LABlab(42.80, 59.31, -45.81)
CIE-LCHlch(42.80, 74.94, 322.32°)
OKLaboklab(53.27% 0.1547 -0.1282)
OKLCHoklch(53.27% 0.201 320.3)
XYZxyz(23.2587, 13.0220, 43.3992)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36B2 #4BB236
analogous
#5F36B2 #9D36B2 #B23689
triadic
#9D36B2 #B29D36 #36B29D
tetradic
#9D36B2 #B25F36 #4BB236 #3689B2
square
#9D36B2 #B25F36 #4BB236 #3689B2
split-complementary
#9D36B2 #89B236 #36B25F
monochromatic
#4A1A54 #742883 #9D36B2 #B959CD #CD88DB

Accessibility & contrast

On white

5.83
#9D36B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9D36B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D36B2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D36B2#FFFFFF#000000##FFFFFF
##9D36B21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#9E4D70
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d36b2;
/* rgb */ color: rgb(157, 54, 178);
/* oklch */ color: oklch(53.3% 0.201 320.3);
Tailwind
colors: {
  custom: {
    50: '#bd76ca',
    500: '#9d36b2',
    950: '#000000',
  },
}
SCSS
$custom: #9d36b2;
$custom-light: #bd76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36b2",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 289.839,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53274,
    "c": 0.20086,
    "h": 320.3
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

primary
#9D36B2
secondary
#8BC57F
accent
#DD4B64
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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