#9F36AE#9F36AE

#9F36AE is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.198 H 322.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9F36AE
RGBrgb(159, 54, 174)
HSLhsl(293, 53%, 45%)
HSVhsv(293, 69%, 68%)
CMYKcmyk(8.6%, 69%, 0%, 31.8%)
CIE-LABlab(42.86, 59.01, -43.33)
CIE-LCHlch(42.86, 73.21, 323.71°)
OKLaboklab(53.31% 0.1572 -0.1208)
OKLCHoklch(53.31% 0.198 322.4)
XYZxyz(23.2564, 13.0665, 41.3333)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36AE #45AE36
analogous
#6336AE #9F36AE #AE3681
triadic
#9F36AE #AE9F36 #36AE9F
tetradic
#9F36AE #AE6336 #45AE36 #3681AE
square
#9F36AE #AE6336 #45AE36 #3681AE
split-complementary
#9F36AE #81AE36 #36AE63
monochromatic
#4A1951 #74287F #9F36AE #BC56CB #CF85D9

Accessibility & contrast

On white

5.81
#9F36AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9F36AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36AE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36AE#FFFFFF#000000##FFFFFF
##9F36AE1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5EB1
Deuteranopia (green-blind)
#4769AB
Tritanopia (blue-blind)
#A14B6E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f36ae;
/* rgb */ color: rgb(159, 54, 174);
/* oklch */ color: oklch(53.3% 0.198 322.4);
Tailwind
colors: {
  custom: {
    50: '#bf76c7',
    500: '#9f36ae',
    950: '#000000',
  },
}
SCSS
$custom: #9f36ae;
$custom-light: #bf76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36ae",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 292.5,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53306,
    "c": 0.19824,
    "h": 322.4
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#9F36AE
secondary
#86C37D
accent
#DC4C5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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