#9F36AF#9F36AF

#9F36AF is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.4% C 0.199 H 322.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9F36AF
RGBrgb(159, 54, 175)
HSLhsl(292, 53%, 45%)
HSVhsv(292, 69%, 69%)
CMYKcmyk(9.1%, 69.1%, 0%, 31.4%)
CIE-LABlab(42.92, 59.20, -43.82)
CIE-LCHlch(42.92, 73.65, 323.49°)
OKLaboklab(53.37% 0.1571 -0.1223)
OKLCHoklch(53.37% 0.199 322.1)
XYZxyz(23.3543, 13.1057, 41.8486)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36AF #46AF36
analogous
#6236AF #9F36AF #AF3683
triadic
#9F36AF #AF9F36 #36AF9F
tetradic
#9F36AF #AF6236 #46AF36 #3683AF
square
#9F36AF #AF6236 #46AF36 #3683AF
split-complementary
#9F36AF #83AF36 #36AF62
monochromatic
#4A1951 #752880 #9F36AF #BC57CB #CF86DA

Accessibility & contrast

On white

5.80
#9F36AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9F36AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36AF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36AF#FFFFFF#000000##FFFFFF
##9F36AF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5EB2
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#A14B6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f36af;
/* rgb */ color: rgb(159, 54, 175);
/* oklch */ color: oklch(53.4% 0.199 322.1);
Tailwind
colors: {
  custom: {
    50: '#bf76c7',
    500: '#9f36af',
    950: '#000000',
  },
}
SCSS
$custom: #9f36af;
$custom-light: #bf76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36af",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 292.066,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53367,
    "c": 0.19911,
    "h": 322.1
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#9F36AF
secondary
#87C37D
accent
#DC4C5F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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