#9F36BA#9F36BA

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

Color values

HEX#9F36BA
RGBrgb(159, 54, 186)
HSLhsl(288, 55%, 47%)
HSVhsv(288, 71%, 73%)
CMYKcmyk(14.5%, 71%, 0%, 27.1%)
CIE-LABlab(43.59, 61.27, -49.23)
CIE-LCHlch(43.59, 78.60, 321.22°)
OKLaboklab(54.06% 0.1566 -0.1381)
OKLCHoklch(54.06% 0.209 318.6)
XYZxyz(24.4790, 13.5556, 47.7719)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36BA #51BA36
analogous
#5D36BA #9F36BA #BA3693
triadic
#9F36BA #BA9F36 #36BA9F
tetradic
#9F36BA #BA5D36 #51BA36 #3693BA
square
#9F36BA #BA5D36 #51BA36 #3693BA
split-complementary
#9F36BA #93BA36 #36BA5D
monochromatic
#4E1A5B #76288B #9F36BA #B95DD0 #CD8DDE

Accessibility & contrast

On white

5.66
#9F36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9F36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36BA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36BA#FFFFFF#000000##FFFFFF
##9F36BA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#9F5075
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f36ba;
/* rgb */ color: rgb(159, 54, 186);
/* oklch */ color: oklch(54.1% 0.209 318.6);
Tailwind
colors: {
  custom: {
    50: '#bf77cf',
    500: '#9f36ba',
    950: '#000000',
  },
}
SCSS
$custom: #9f36ba;
$custom-light: #bf77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36ba",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 287.727,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.20879,
    "h": 318.6
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#9F36BA
secondary
#92C884
accent
#DE4968
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9F36BA

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

Preview Lab → · Contrast checker → · Palette generator →

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