#9F36BF#9F36BF

#9F36BF is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.4% C 0.213 H 317.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9F36BF
RGBrgb(159, 54, 191)
HSLhsl(286, 56%, 48%)
HSVhsv(286, 72%, 75%)
CMYKcmyk(16.8%, 71.7%, 0%, 25.1%)
CIE-LABlab(43.90, 62.24, -51.65)
CIE-LCHlch(43.90, 80.88, 320.31°)
OKLaboklab(54.38% 0.1562 -0.1452)
OKLCHoklch(54.38% 0.213 317.1)
XYZxyz(25.0198, 13.7719, 50.6204)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36BF #56BF36
analogous
#5A36BF #9F36BF #BF369B
triadic
#9F36BF #BF9F36 #36BF9F
tetradic
#9F36BF #BF5A36 #56BF36 #369BBF
square
#9F36BF #BF5A36 #56BF36 #369BBF
split-complementary
#9F36BF #9BBF36 #36BF5A
monochromatic
#501B60 #77298F #9F36BF #B760D2 #CD90E0

Accessibility & contrast

On white

5.59
#9F36BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F36BF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36BF#FFFFFF#000000##FFFFFF
##9F36BF1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#9D5277
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f36bf;
/* rgb */ color: rgb(159, 54, 191);
/* oklch */ color: oklch(54.4% 0.213 317.1);
Tailwind
colors: {
  custom: {
    50: '#bf77d3',
    500: '#9f36bf',
    950: '#000000',
  },
}
SCSS
$custom: #9f36bf;
$custom-light: #bf77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36bf",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 285.985,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54384,
    "c": 0.21324,
    "h": 317.1
  },
  "luminance": 0.13771
}

Semantic roles & 50–950 ramp

primary
#9F36BF
secondary
#96CA87
accent
#DF496C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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