#9F36D3#9F36D3

#9F36D3 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.231 H 311.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9F36D3
RGBrgb(159, 54, 211)
HSLhsl(280, 64%, 52%)
HSVhsv(280, 74%, 83%)
CMYKcmyk(24.6%, 74.4%, 0%, 17.3%)
CIE-LABlab(45.24, 66.23, -61.08)
CIE-LCHlch(45.24, 90.10, 317.31°)
OKLaboklab(55.75% 0.1536 -0.1729)
OKLCHoklch(55.75% 0.231 311.6)
XYZxyz(27.3729, 14.7131, 63.0134)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36D3 #6AD336
analogous
#5036D3 #9F36D3 #D336B9
triadic
#9F36D3 #D39F36 #36D39F
tetradic
#9F36D3 #D35036 #6AD336 #36B9D3
square
#9F36D3 #D35036 #6AD336 #36B9D3
split-complementary
#9F36D3 #B9D336 #36D350
monochromatic
#571A75 #7C25A7 #9F36D3 #B768DE #CF9AE9

Accessibility & contrast

On white

5.33
#9F36D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9F36D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36D3
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36D3#FFFFFF#000000##FFFFFF
##9F36D31.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#1A6DD0
Tritanopia (blue-blind)
#985A83
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f36d3;
/* rgb */ color: rgb(159, 54, 211);
/* oklch */ color: oklch(55.8% 0.231 311.6);
Tailwind
colors: {
  custom: {
    50: '#c078e1',
    500: '#9f36d3',
    950: '#000000',
  },
}
SCSS
$custom: #9f36d3;
$custom-light: #c078e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36d3",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 211
  },
  "hsl": {
    "h": 280.127,
    "s": 64.082,
    "l": 51.961
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.23124,
    "h": 311.6
  },
  "luminance": 0.14712
}

Semantic roles & 50–950 ramp

primary
#9F36D3
secondary
#A7D590
accent
#E74178
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F36D3

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

Preview Lab → · Contrast checker → · Palette generator →

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