#9F36CA#9F36CA

#9F36CA is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.223 H 314.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9F36CA
RGBrgb(159, 54, 202)
HSLhsl(283, 58%, 50%)
HSVhsv(283, 73%, 79%)
CMYKcmyk(21.3%, 73.3%, 0%, 20.8%)
CIE-LABlab(44.62, 64.41, -56.89)
CIE-LCHlch(44.62, 85.94, 318.55°)
OKLaboklab(55.13% 0.1549 -0.1606)
OKLCHoklch(55.13% 0.223 314)
XYZxyz(26.2761, 14.2744, 57.2368)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36CA #61CA36
analogous
#5536CA #9F36CA #CA36AB
triadic
#9F36CA #CA9F36 #36CA9F
tetradic
#9F36CA #CA5536 #61CA36 #36ABCA
square
#9F36CA #CA5536 #61CA36 #36ABCA
split-complementary
#9F36CA #ABCA36 #36CA55
monochromatic
#531C6A #79299A #9F36CA #B666D7 #CD97E4

Accessibility & contrast

On white

5.45
#9F36CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9F36CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36CA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36CA#FFFFFF#000000##FFFFFF
##9F36CA1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#9B577D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f36ca;
/* rgb */ color: rgb(159, 54, 202);
/* oklch */ color: oklch(55.1% 0.223 314.0);
Tailwind
colors: {
  custom: {
    50: '#c077db',
    500: '#9f36ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f36ca;
$custom-light: #c077db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36ca",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 282.568,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55125,
    "c": 0.22311,
    "h": 314
  },
  "luminance": 0.14274
}

Semantic roles & 50–950 ramp

primary
#9F36CA
secondary
#A0CF8D
accent
#E14673
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9F36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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