#9A36CA#9A36CA

#9A36CA is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.5% C 0.221 H 312.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9A36CA
RGBrgb(154, 54, 202)
HSLhsl(281, 58%, 50%)
HSVhsv(281, 73%, 79%)
CMYKcmyk(23.8%, 73.3%, 0%, 20.8%)
CIE-LABlab(43.91, 63.44, -58.08)
CIE-LCHlch(43.91, 86.01, 317.52°)
OKLaboklab(54.47% 0.1486 -0.1642)
OKLCHoklch(54.47% 0.221 312.1)
XYZxyz(25.3043, 13.7733, 57.1912)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A36CA #66CA36
analogous
#5036CA #9A36CA #CA36B0
triadic
#9A36CA #CA9A36 #36CA9A
tetradic
#9A36CA #CA5036 #66CA36 #36B0CA
square
#9A36CA #CA5036 #66CA36 #36B0CA
split-complementary
#9A36CA #B0CA36 #36CA50
monochromatic
#501C6A #75299A #9A36CA #B266D7 #CB97E4

Accessibility & contrast

On white

5.59
#9A36CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9A36CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A36CA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A36CA#FFFFFF#000000##FFFFFF
##9A36CA1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#226AC7
Tritanopia (blue-blind)
#94577D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a36ca;
/* rgb */ color: rgb(154, 54, 202);
/* oklch */ color: oklch(54.5% 0.221 312.1);
Tailwind
colors: {
  custom: {
    50: '#bc77db',
    500: '#9a36ca',
    950: '#000000',
  },
}
SCSS
$custom: #9a36ca;
$custom-light: #bc77db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a36ca",
  "rgb": {
    "r": 154,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 280.541,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54469,
    "c": 0.22147,
    "h": 312.1
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#9A36CA
secondary
#A2CF8D
accent
#E14679
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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