#9F36BB#9F36BB

#9F36BB is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.1% C 0.210 H 318.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9F36BB
RGBrgb(159, 54, 187)
HSLhsl(287, 55%, 47%)
HSVhsv(287, 71%, 73%)
CMYKcmyk(15%, 71.1%, 0%, 26.7%)
CIE-LABlab(43.65, 61.46, -49.72)
CIE-LCHlch(43.65, 79.06, 321.03°)
OKLaboklab(54.12% 0.1565 -0.1395)
OKLCHoklch(54.12% 0.21 318.3)
XYZxyz(24.5856, 13.5982, 48.3338)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36BB #52BB36
analogous
#5C36BB #9F36BB #BB3695
triadic
#9F36BB #BB9F36 #36BB9F
tetradic
#9F36BB #BB5C36 #52BB36 #3695BB
square
#9F36BB #BB5C36 #52BB36 #3695BB
split-complementary
#9F36BB #95BB36 #36BB5C
monochromatic
#4E1B5C #77288C #9F36BB #B85ED0 #CD8DDE

Accessibility & contrast

On white

5.65
#9F36BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9F36BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36BB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36BB#FFFFFF#000000##FFFFFF
##9F36BB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#9E5075
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f36bb;
/* rgb */ color: rgb(159, 54, 187);
/* oklch */ color: oklch(54.1% 0.210 318.3);
Tailwind
colors: {
  custom: {
    50: '#bf77d0',
    500: '#9f36bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f36bb;
$custom-light: #bf77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36bb",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 287.368,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.20968,
    "h": 318.3
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#9F36BB
secondary
#93C984
accent
#DF4969
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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