#9F36BE#9F36BE

#9F36BE is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.3% C 0.212 H 317.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9F36BE
RGBrgb(159, 54, 190)
HSLhsl(286, 56%, 48%)
HSVhsv(286, 72%, 75%)
CMYKcmyk(16.3%, 71.6%, 0%, 25.5%)
CIE-LABlab(43.84, 62.04, -51.17)
CIE-LCHlch(43.84, 80.42, 320.49°)
OKLaboklab(54.32% 0.1563 -0.1438)
OKLCHoklch(54.32% 0.212 317.4)
XYZxyz(24.9102, 13.7280, 50.0428)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36BE #55BE36
analogous
#5B36BE #9F36BE #BE3699
triadic
#9F36BE #BE9F36 #36BE9F
tetradic
#9F36BE #BE5B36 #55BE36 #3699BE
square
#9F36BE #BE5B36 #55BE36 #3699BE
split-complementary
#9F36BE #99BE36 #36BE5B
monochromatic
#4F1B5F #77288E #9F36BE #B860D2 #CD8FDF

Accessibility & contrast

On white

5.61
#9F36BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9F36BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36BE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36BE#FFFFFF#000000##FFFFFF
##9F36BE1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#3A6BBB
Tritanopia (blue-blind)
#9E5177
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f36be;
/* rgb */ color: rgb(159, 54, 190);
/* oklch */ color: oklch(54.3% 0.212 317.4);
Tailwind
colors: {
  custom: {
    50: '#bf77d2',
    500: '#9f36be',
    950: '#000000',
  },
}
SCSS
$custom: #9f36be;
$custom-light: #bf77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36be",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 286.324,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.21235,
    "h": 317.4
  },
  "luminance": 0.13727
}

Semantic roles & 50–950 ramp

primary
#9F36BE
secondary
#95CA86
accent
#DF496B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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