#9F36BC#9F36BC

#9F36BC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.2% C 0.211 H 318.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9F36BC
RGBrgb(159, 54, 188)
HSLhsl(287, 55%, 47%)
HSVhsv(287, 71%, 74%)
CMYKcmyk(15.4%, 71.3%, 0%, 26.3%)
CIE-LABlab(43.71, 61.66, -50.20)
CIE-LCHlch(43.71, 79.51, 320.84°)
OKLaboklab(54.19% 0.1564 -0.141)
OKLCHoklch(54.19% 0.211 318)
XYZxyz(24.6931, 13.6412, 48.8995)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36BC #53BC36
analogous
#5C36BC #9F36BC #BC3696
triadic
#9F36BC #BC9F36 #36BC9F
tetradic
#9F36BC #BC5C36 #53BC36 #3696BC
square
#9F36BC #BC5C36 #53BC36 #3696BC
split-complementary
#9F36BC #96BC36 #36BC5C
monochromatic
#4F1B5D #77288C #9F36BC #B85ED1 #CD8EDF

Accessibility & contrast

On white

5.63
#9F36BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9F36BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36BC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36BC#FFFFFF#000000##FFFFFF
##9F36BC1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#9E5176
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f36bc;
/* rgb */ color: rgb(159, 54, 188);
/* oklch */ color: oklch(54.2% 0.211 318.0);
Tailwind
colors: {
  custom: {
    50: '#bf77d1',
    500: '#9f36bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f36bc;
$custom-light: #bf77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36bc",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 287.015,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54188,
    "c": 0.21057,
    "h": 318
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#9F36BC
secondary
#94C985
accent
#DF4969
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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