#9F36BD#9F36BD

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

Color values

HEX#9F36BD
RGBrgb(159, 54, 189)
HSLhsl(287, 56%, 48%)
HSVhsv(287, 71%, 74%)
CMYKcmyk(15.9%, 71.4%, 0%, 25.9%)
CIE-LABlab(43.78, 61.85, -50.69)
CIE-LCHlch(43.78, 79.97, 320.66°)
OKLaboklab(54.25% 0.1563 -0.1424)
OKLCHoklch(54.25% 0.211 317.7)
XYZxyz(24.8012, 13.6845, 49.4692)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36BD #54BD36
analogous
#5C36BD #9F36BD #BD3697
triadic
#9F36BD #BD9F36 #36BD9F
tetradic
#9F36BD #BD5C36 #54BD36 #3697BD
square
#9F36BD #BD5C36 #54BD36 #3697BD
split-complementary
#9F36BD #97BD36 #36BD5C
monochromatic
#4F1B5E #77288D #9F36BD #B85FD1 #CD8FDF

Accessibility & contrast

On white

5.62
#9F36BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9F36BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36BD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36BD#FFFFFF#000000##FFFFFF
##9F36BD1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f36bd;
/* rgb */ color: rgb(159, 54, 189);
/* oklch */ color: oklch(54.3% 0.211 317.7);
Tailwind
colors: {
  custom: {
    50: '#bf77d1',
    500: '#9f36bd',
    950: '#000000',
  },
}
SCSS
$custom: #9f36bd;
$custom-light: #bf77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36bd",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 286.667,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54253,
    "c": 0.21145,
    "h": 317.7
  },
  "luminance": 0.13683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F36BD

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

Preview Lab → · Contrast checker → · Palette generator →

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