#9A36AE#9A36AE

#9A36AE is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.6% C 0.196 H 320.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9A36AE
RGBrgb(154, 54, 174)
HSLhsl(290, 53%, 45%)
HSVhsv(290, 69%, 68%)
CMYKcmyk(11.5%, 69%, 0%, 31.8%)
CIE-LABlab(42.10, 57.88, -44.59)
CIE-LCHlch(42.10, 73.06, 322.39°)
OKLaboklab(52.61% 0.1512 -0.1247)
OKLCHoklch(52.61% 0.196 320.5)
XYZxyz(22.2847, 12.5655, 41.2878)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A36AE #4AAE36
analogous
#5E36AE #9A36AE #AE3686
triadic
#9A36AE #AE9A36 #36AE9A
tetradic
#9A36AE #AE5E36 #4AAE36 #3686AE
square
#9A36AE #AE5E36 #4AAE36 #3686AE
split-complementary
#9A36AE #86AE36 #36AE5E
monochromatic
#471951 #71287F #9A36AE #B756CB #CB85D9

Accessibility & contrast

On white

5.98
#9A36AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9A36AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A36AE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A36AE#FFFFFF#000000##FFFFFF
##9A36AE1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045CB1
Deuteranopia (green-blind)
#4267AB
Tritanopia (blue-blind)
#9B4C6E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a36ae;
/* rgb */ color: rgb(154, 54, 174);
/* oklch */ color: oklch(52.6% 0.196 320.5);
Tailwind
colors: {
  custom: {
    50: '#bb76c7',
    500: '#9a36ae',
    950: '#000000',
  },
}
SCSS
$custom: #9a36ae;
$custom-light: #bb76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a36ae",
  "rgb": {
    "r": 154,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 290,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.19599,
    "h": 320.5
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#9A36AE
secondary
#89C37D
accent
#DC4C64
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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