#9D36BA#9D36BA

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

Color values

HEX#9D36BA
RGBrgb(157, 54, 186)
HSLhsl(287, 55%, 47%)
HSVhsv(287, 71%, 73%)
CMYKcmyk(15.6%, 71%, 0%, 27.1%)
CIE-LABlab(43.29, 60.84, -49.73)
CIE-LCHlch(43.29, 78.58, 320.74°)
OKLaboklab(53.79% 0.1542 -0.1396)
OKLCHoklch(53.79% 0.208 317.8)
XYZxyz(24.0855, 13.3527, 47.7535)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36BA #53BA36
analogous
#5B36BA #9D36BA #BA3695
triadic
#9D36BA #BA9D36 #36BA9D
tetradic
#9D36BA #BA5B36 #53BA36 #3695BA
square
#9D36BA #BA5B36 #53BA36 #3695BA
split-complementary
#9D36BA #95BA36 #36BA5B
monochromatic
#4D1A5B #75288B #9D36BA #B75DD0 #CC8DDE

Accessibility & contrast

On white

5.72
#9D36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9D36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D36BA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D36BA#FFFFFF#000000##FFFFFF
##9D36BA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#3B69B7
Tritanopia (blue-blind)
#9C5075
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d36ba;
/* rgb */ color: rgb(157, 54, 186);
/* oklch */ color: oklch(53.8% 0.208 317.8);
Tailwind
colors: {
  custom: {
    50: '#be76cf',
    500: '#9d36ba',
    950: '#000000',
  },
}
SCSS
$custom: #9d36ba;
$custom-light: #be76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36ba",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 286.818,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53785,
    "c": 0.20799,
    "h": 317.8
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#9D36BA
secondary
#93C884
accent
#DE496A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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