#9D36AA#9D36AA

#9D36AA is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.194 H 323.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9D36AA
RGBrgb(157, 54, 170)
HSLhsl(293, 52%, 44%)
HSVhsv(293, 68%, 67%)
CMYKcmyk(7.6%, 68.2%, 0%, 33.3%)
CIE-LABlab(42.32, 57.81, -41.83)
CIE-LCHlch(42.32, 71.36, 324.11°)
OKLaboklab(52.78% 0.1549 -0.1165)
OKLCHoklch(52.78% 0.194 323)
XYZxyz(22.4788, 12.7100, 39.2917)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D36AA #43AA36
analogous
#6336AA #9D36AA #AA367D
triadic
#9D36AA #AA9D36 #36AA9D
tetradic
#9D36AA #AA6336 #43AA36 #367DAA
square
#9D36AA #AA6336 #43AA36 #367DAA
split-complementary
#9D36AA #7DAA36 #36AA63
monochromatic
#47184D #72277C #9D36AA #BC54C9 #CE83D8

Accessibility & contrast

On white

5.93
#9D36AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9D36AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D36AA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D36AA#FFFFFF#000000##FFFFFF
##9D36AA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165CAD
Deuteranopia (green-blind)
#4868A7
Tritanopia (blue-blind)
#9F496C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d36aa;
/* rgb */ color: rgb(157, 54, 170);
/* oklch */ color: oklch(52.8% 0.194 323.0);
Tailwind
colors: {
  custom: {
    50: '#bd76c4',
    500: '#9d36aa',
    950: '#000000',
  },
}
SCSS
$custom: #9d36aa;
$custom-light: #bd76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d36aa",
  "rgb": {
    "r": 157,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 293.276,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.19383,
    "h": 323
  },
  "luminance": 0.12709
}

Semantic roles & 50–950 ramp

primary
#9D36AA
secondary
#83C17B
accent
#DB4D5D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9D36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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