#9F36CC#9F36CC

#9F36CC is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.225 H 313.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9F36CC
RGBrgb(159, 54, 204)
HSLhsl(282, 60%, 51%)
HSVhsv(282, 74%, 80%)
CMYKcmyk(22.1%, 73.5%, 0%, 20%)
CIE-LABlab(44.76, 64.81, -57.83)
CIE-LCHlch(44.76, 86.86, 318.26°)
OKLaboklab(55.26% 0.1546 -0.1633)
OKLCHoklch(55.26% 0.225 313.4)
XYZxyz(26.5144, 14.3697, 58.4920)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36CC #63CC36
analogous
#5436CC #9F36CC #CC36AE
triadic
#9F36CC #CC9F36 #36CC9F
tetradic
#9F36CC #CC5436 #63CC36 #36AECC
square
#9F36CC #CC5436 #63CC36 #36AECC
split-complementary
#9F36CC #AECC36 #36CC54
monochromatic
#541B6C #7A289D #9F36CC #B667D8 #CE98E5

Accessibility & contrast

On white

5.42
#9F36CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9F36CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36CC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36CC#FFFFFF#000000##FFFFFF
##9F36CC1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#286CC9
Tritanopia (blue-blind)
#9A577F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f36cc;
/* rgb */ color: rgb(159, 54, 204);
/* oklch */ color: oklch(55.3% 0.225 313.4);
Tailwind
colors: {
  custom: {
    50: '#c077dc',
    500: '#9f36cc',
    950: '#000000',
  },
}
SCSS
$custom: #9f36cc;
$custom-light: #c077dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36cc",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 282,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55263,
    "c": 0.22491,
    "h": 313.4
  },
  "luminance": 0.14369
}

Semantic roles & 50–950 ramp

primary
#9F36CC
secondary
#A2D08E
accent
#E34574
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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