#9F36AA#9F36AA

#9F36AA is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.195 H 323.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9F36AA
RGBrgb(159, 54, 170)
HSLhsl(294, 52%, 44%)
HSVhsv(294, 68%, 67%)
CMYKcmyk(6.5%, 68.2%, 0%, 33.3%)
CIE-LABlab(42.63, 58.28, -41.32)
CIE-LCHlch(42.63, 71.44, 324.66°)
OKLaboklab(53.07% 0.1572 -0.115)
OKLCHoklch(53.07% 0.195 323.8)
XYZxyz(22.8723, 12.9129, 39.3101)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F36AA #41AA36
analogous
#6536AA #9F36AA #AA367B
triadic
#9F36AA #AA9F36 #36AA9F
tetradic
#9F36AA #AA6536 #41AA36 #367BAA
square
#9F36AA #AA6536 #41AA36 #367BAA
split-complementary
#9F36AA #7BAA36 #36AA65
monochromatic
#48184D #74277C #9F36AA #BE54C9 #D083D8

Accessibility & contrast

On white

5.86
#9F36AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9F36AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F36AA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F36AA#FFFFFF#000000##FFFFFF
##9F36AA1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185DAD
Deuteranopia (green-blind)
#4969A7
Tritanopia (blue-blind)
#A2496C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f36aa;
/* rgb */ color: rgb(159, 54, 170);
/* oklch */ color: oklch(53.1% 0.195 323.8);
Tailwind
colors: {
  custom: {
    50: '#bf76c4',
    500: '#9f36aa',
    950: '#000000',
  },
}
SCSS
$custom: #9f36aa;
$custom-light: #bf76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f36aa",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 294.31,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53065,
    "c": 0.19478,
    "h": 323.8
  },
  "luminance": 0.12912
}

Semantic roles & 50–950 ramp

primary
#9F36AA
secondary
#81C17B
accent
#DB4D5A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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