#9F36C8#9F36C8

#9F36C8 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.221 H 314.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9F36C8
RGBrgb(159, 54, 200)
HSLhsl(283, 57%, 50%)
HSVhsv(283, 73%, 78%)
CMYKcmyk(20.5%, 73%, 0%, 21.6%)
CIE-LABlab(44.49, 64.01, -55.94)
CIE-LCHlch(44.49, 85.01, 318.85°)
OKLaboklab(54.99% 0.1552 -0.1578)
OKLCHoklch(54.99% 0.221 314.5)
XYZxyz(26.0408, 14.1803, 55.9977)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36C8 #5FC836
analogous
#5636C8 #9F36C8 #C836A8
triadic
#9F36C8 #C89F36 #36C89F
tetradic
#9F36C8 #C85636 #5FC836 #36A8C8
square
#9F36C8 #C85636 #5FC836 #36A8C8
split-complementary
#9F36C8 #A8C836 #36C856
monochromatic
#521C68 #792998 #9F36C8 #B666D6 #CD96E3

Accessibility & contrast

On white

5.47
#9F36C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9F36C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36C8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36C8#FFFFFF#000000##FFFFFF
##9F36C81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#2E6CC5
Tritanopia (blue-blind)
#9B567C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f36c8;
/* rgb */ color: rgb(159, 54, 200);
/* oklch */ color: oklch(55.0% 0.221 314.5);
Tailwind
colors: {
  custom: {
    50: '#c077d9',
    500: '#9f36c8',
    950: '#000000',
  },
}
SCSS
$custom: #9f36c8;
$custom-light: #c077d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36c8",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 200
  },
  "hsl": {
    "h": 283.151,
    "s": 57.48,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54987,
    "c": 0.2213,
    "h": 314.5
  },
  "luminance": 0.14179
}

Semantic roles & 50–950 ramp

primary
#9F36C8
secondary
#9ECE8C
accent
#E14772
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F36C8

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

Preview Lab → · Contrast checker → · Palette generator →

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