#9D36AC#9D36AC

#9D36AC is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.196 H 322.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9D36AC
RGBrgb(157, 54, 172)
HSLhsl(292, 52%, 44%)
HSVhsv(292, 69%, 67%)
CMYKcmyk(8.7%, 68.6%, 0%, 32.5%)
CIE-LABlab(42.44, 58.18, -42.83)
CIE-LCHlch(42.44, 72.25, 323.64°)
OKLaboklab(52.9% 0.1548 -0.1195)
OKLCHoklch(52.9% 0.196 322.3)
XYZxyz(22.6694, 12.7862, 40.2957)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36AC #45AC36
analogous
#6236AC #9D36AC #AC3680
triadic
#9D36AC #AC9D36 #36AC9D
tetradic
#9D36AC #AC6236 #45AC36 #3680AC
square
#9D36AC #AC6236 #45AC36 #3680AC
split-complementary
#9D36AC #80AC36 #36AC62
monochromatic
#48194F #72277D #9D36AC #BB55CA #CE84D8

Accessibility & contrast

On white

5.90
#9D36AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9D36AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D36AC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D36AC#FFFFFF#000000##FFFFFF
##9D36AC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115DAF
Deuteranopia (green-blind)
#4668A9
Tritanopia (blue-blind)
#9F4A6D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d36ac;
/* rgb */ color: rgb(157, 54, 172);
/* oklch */ color: oklch(52.9% 0.196 322.3);
Tailwind
colors: {
  custom: {
    50: '#bd76c5',
    500: '#9d36ac',
    950: '#000000',
  },
}
SCSS
$custom: #9d36ac;
$custom-light: #bd76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36ac",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 292.373,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52903,
    "c": 0.19558,
    "h": 322.3
  },
  "luminance": 0.12785
}

Semantic roles & 50–950 ramp

primary
#9D36AC
secondary
#85C27C
accent
#DC4C5E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D36AC

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

Preview Lab → · Contrast checker → · Palette generator →

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