#9A36BD#9A36BD

#9A36BD is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.210 H 315.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9A36BD
RGBrgb(154, 54, 189)
HSLhsl(284, 56%, 48%)
HSVhsv(284, 71%, 74%)
CMYKcmyk(18.5%, 71.4%, 0%, 25.9%)
CIE-LABlab(43.04, 60.80, -51.91)
CIE-LCHlch(43.04, 79.95, 319.51°)
OKLaboklab(53.58% 0.1502 -0.1461)
OKLCHoklch(53.58% 0.21 315.8)
XYZxyz(23.8295, 13.1834, 49.4237)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A36BD #59BD36
analogous
#5636BD #9A36BD #BD369D
triadic
#9A36BD #BD9A36 #36BD9A
tetradic
#9A36BD #BD5636 #59BD36 #369DBD
square
#9A36BD #BD5636 #59BD36 #369DBD
split-complementary
#9A36BD #9DBD36 #36BD56
monochromatic
#4C1B5E #73288D #9A36BD #B45FD1 #CA8FDF

Accessibility & contrast

On white

5.77
#9A36BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9A36BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A36BD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A36BD#FFFFFF#000000##FFFFFF
##9A36BD1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#3468BA
Tritanopia (blue-blind)
#985276
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a36bd;
/* rgb */ color: rgb(154, 54, 189);
/* oklch */ color: oklch(53.6% 0.210 315.8);
Tailwind
colors: {
  custom: {
    50: '#bc76d2',
    500: '#9a36bd',
    950: '#000000',
  },
}
SCSS
$custom: #9a36bd;
$custom-light: #bc76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a36bd",
  "rgb": {
    "r": 154,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 284.444,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53576,
    "c": 0.20956,
    "h": 315.8
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#9A36BD
secondary
#97C985
accent
#DF4970
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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