#9F36B4#9F36B4

#9F36B4 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.203 H 320.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9F36B4
RGBrgb(159, 54, 180)
HSLhsl(290, 54%, 46%)
HSVhsv(290, 70%, 71%)
CMYKcmyk(11.7%, 70%, 0%, 29.4%)
CIE-LABlab(43.22, 60.13, -46.30)
CIE-LCHlch(43.22, 75.89, 322.40°)
OKLaboklab(53.68% 0.1569 -0.1295)
OKLCHoklch(53.68% 0.203 320.5)
XYZxyz(23.8545, 13.3058, 44.4829)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36B4 #4BB436
analogous
#6036B4 #9F36B4 #B4368A
triadic
#9F36B4 #B49F36 #36B49F
tetradic
#9F36B4 #B46036 #4BB436 #368AB4
square
#9F36B4 #B46036 #4BB436 #368AB4
split-complementary
#9F36B4 #8AB436 #36B460
monochromatic
#4C1A56 #752885 #9F36B4 #BA5ACD #CE89DC

Accessibility & contrast

On white

5.74
#9F36B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9F36B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36B4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36B4#FFFFFF#000000##FFFFFF
##9F36B41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#426AB1
Tritanopia (blue-blind)
#A04D71
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f36b4;
/* rgb */ color: rgb(159, 54, 180);
/* oklch */ color: oklch(53.7% 0.203 320.5);
Tailwind
colors: {
  custom: {
    50: '#bf76cb',
    500: '#9f36b4',
    950: '#000000',
  },
}
SCSS
$custom: #9f36b4;
$custom-light: #bf76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36b4",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 180
  },
  "hsl": {
    "h": 290,
    "s": 53.846,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53677,
    "c": 0.20349,
    "h": 320.5
  },
  "luminance": 0.13305
}

Semantic roles & 50–950 ramp

primary
#9F36B4
secondary
#8CC680
accent
#DD4B63
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F36B4

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

Preview Lab → · Contrast checker → · Palette generator →

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