#9A36BC#9A36BC

#9A36BC is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.5% C 0.209 H 316.1°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9A36BC
RGBrgb(154, 54, 188)
HSLhsl(285, 55%, 47%)
HSVhsv(285, 71%, 74%)
CMYKcmyk(18.1%, 71.3%, 0%, 26.3%)
CIE-LABlab(42.97, 60.60, -51.43)
CIE-LCHlch(42.97, 79.49, 319.68°)
OKLaboklab(53.51% 0.1503 -0.1447)
OKLCHoklch(53.51% 0.209 316.1)
XYZxyz(23.7213, 13.1401, 48.8540)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A36BC #58BC36
analogous
#5736BC #9A36BC #BC369B
triadic
#9A36BC #BC9A36 #36BC9A
tetradic
#9A36BC #BC5736 #58BC36 #369BBC
square
#9A36BC #BC5736 #58BC36 #369BBC
split-complementary
#9A36BC #9BBC36 #36BC57
monochromatic
#4C1B5D #73288C #9A36BC #B45ED1 #CA8EDF

Accessibility & contrast

On white

5.79
#9A36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9A36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A36BC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A36BC#FFFFFF#000000##FFFFFF
##9A36BC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#985176
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a36bc;
/* rgb */ color: rgb(154, 54, 188);
/* oklch */ color: oklch(53.5% 0.209 316.1);
Tailwind
colors: {
  custom: {
    50: '#bc76d1',
    500: '#9a36bc',
    950: '#000000',
  },
}
SCSS
$custom: #9a36bc;
$custom-light: #bc76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a36bc",
  "rgb": {
    "r": 154,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 284.776,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5351,
    "c": 0.20864,
    "h": 316.1
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#9A36BC
secondary
#96C985
accent
#DF496F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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