#9A36AA#9A36AA

#9A36AA is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.4% C 0.192 H 321.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9A36AA
RGBrgb(154, 54, 170)
HSLhsl(292, 52%, 44%)
HSVhsv(292, 68%, 67%)
CMYKcmyk(9.4%, 68.2%, 0%, 33.3%)
CIE-LABlab(41.86, 57.12, -42.59)
CIE-LCHlch(41.86, 71.25, 323.29°)
OKLaboklab(52.36% 0.1513 -0.1189)
OKLCHoklch(52.36% 0.192 321.9)
XYZxyz(21.9005, 12.4118, 39.2646)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A36AA #46AA36
analogous
#6036AA #9A36AA #AA3680
triadic
#9A36AA #AA9A36 #36AA9A
tetradic
#9A36AA #AA6036 #46AA36 #3680AA
square
#9A36AA #AA6036 #46AA36 #3680AA
split-complementary
#9A36AA #80AA36 #36AA60
monochromatic
#46184D #70277C #9A36AA #B954C9 #CC83D8

Accessibility & contrast

On white

6.03
#9A36AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9A36AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A36AA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A36AA#FFFFFF#000000##FFFFFF
##9A36AA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115CAD
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#9C4A6C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a36aa;
/* rgb */ color: rgb(154, 54, 170);
/* oklch */ color: oklch(52.4% 0.192 321.9);
Tailwind
colors: {
  custom: {
    50: '#bb75c4',
    500: '#9a36aa',
    950: '#000000',
  },
}
SCSS
$custom: #9a36aa;
$custom-light: #bb75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a36aa",
  "rgb": {
    "r": 154,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 291.724,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52359,
    "c": 0.19244,
    "h": 321.9
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

primary
#9A36AA
secondary
#84C17B
accent
#DB4D60
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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