#9A36CC#9A36CC

#9A36CC is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.6% C 0.223 H 311.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9A36CC
RGBrgb(154, 54, 204)
HSLhsl(280, 60%, 51%)
HSVhsv(280, 74%, 80%)
CMYKcmyk(24.5%, 73.5%, 0%, 20%)
CIE-LABlab(44.04, 63.85, -59.02)
CIE-LCHlch(44.04, 86.95, 317.25°)
OKLaboklab(54.61% 0.1483 -0.167)
OKLCHoklch(54.61% 0.223 311.6)
XYZxyz(25.5426, 13.8687, 58.4464)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A36CC #68CC36
analogous
#4F36CC #9A36CC #CC36B3
triadic
#9A36CC #CC9A36 #36CC9A
tetradic
#9A36CC #CC4F36 #68CC36 #36B3CC
square
#9A36CC #CC4F36 #68CC36 #36B3CC
split-complementary
#9A36CC #B3CC36 #36CC4F
monochromatic
#511B6C #76289D #9A36CC #B367D8 #CB98E5

Accessibility & contrast

On white

5.56
#9A36CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9A36CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A36CC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A36CC#FFFFFF#000000##FFFFFF
##9A36CC1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#1E6AC9
Tritanopia (blue-blind)
#94587F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a36cc;
/* rgb */ color: rgb(154, 54, 204);
/* oklch */ color: oklch(54.6% 0.223 311.6);
Tailwind
colors: {
  custom: {
    50: '#bc77dc',
    500: '#9a36cc',
    950: '#000000',
  },
}
SCSS
$custom: #9a36cc;
$custom-light: #bc77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a36cc",
  "rgb": {
    "r": 154,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 280,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5461,
    "c": 0.22331,
    "h": 311.6
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#9A36CC
secondary
#A4D08E
accent
#E3457A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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