#9F3AA5#9F3AA5

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

Color values

HEX#9F3AA5
RGBrgb(159, 58, 165)
HSLhsl(297, 48%, 44%)
HSVhsv(297, 65%, 65%)
CMYKcmyk(3.6%, 64.8%, 0%, 35.3%)
CIE-LABlab(42.94, 55.74, -37.86)
CIE-LCHlch(42.94, 67.38, 325.81°)
OKLaboklab(53.19% 0.1526 -0.105)
OKLCHoklch(53.19% 0.185 325.5)
XYZxyz(22.6022, 13.1150, 36.9310)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3AA5 #40A53A
analogous
#693AA5 #9F3AA5 #A53A75
triadic
#9F3AA5 #A59F3A #3AA59F
tetradic
#9F3AA5 #A5693A #40A53A #3A75A5
square
#9F3AA5 #A5693A #40A53A #3A75A5
split-complementary
#9F3AA5 #75A53A #3AA569
monochromatic
#481A4A #732A78 #9F3AA5 #BE58C4 #D085D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F3AA5#FFFFFF#000000##FFFFFF
##9F3AA51.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)
#275DA8
Deuteranopia (green-blind)
#4F6AA2
Tritanopia (blue-blind)
#A34A6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f3aa5;
/* rgb */ color: rgb(159, 58, 165);
/* oklch */ color: oklch(53.2% 0.185 325.5);
Tailwind
colors: {
  custom: {
    50: '#be78c0',
    500: '#9f3aa5',
    950: '#000000',
  },
}
SCSS
$custom: #9f3aa5;
$custom-light: #be78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3aa5",
  "rgb": {
    "r": 159,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 296.636,
    "s": 47.982,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53194,
    "c": 0.18523,
    "h": 325.5
  },
  "luminance": 0.13114
}

Semantic roles & 50–950 ramp

primary
#9F3AA5
secondary
#80BE7D
accent
#D85058
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9F3AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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