#9F3AA2#9F3AA2

#9F3AA2 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.0% C 0.183 H 326.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9F3AA2
RGBrgb(159, 58, 162)
HSLhsl(298, 47%, 43%)
HSVhsv(298, 64%, 64%)
CMYKcmyk(1.9%, 64.2%, 0%, 36.5%)
CIE-LABlab(42.77, 55.20, -36.33)
CIE-LCHlch(42.77, 66.08, 326.65°)
OKLaboklab(53.03% 0.1525 -0.1005)
OKLCHoklch(53.03% 0.183 326.6)
XYZxyz(22.3323, 13.0071, 35.5098)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3AA2 #3DA23A
analogous
#6B3AA2 #9F3AA2 #A23A71
triadic
#9F3AA2 #A29F3A #3AA29F
tetradic
#9F3AA2 #A26B3A #3DA23A #3A71A2
square
#9F3AA2 #A26B3A #3DA23A #3A71A2
split-complementary
#9F3AA2 #71A23A #3AA26B
monochromatic
#471A48 #732A75 #9F3AA2 #C057C3 #D184D3

Accessibility & contrast

On white

5.83
#9F3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9F3AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3AA2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3AA2#FFFFFF#000000##FFFFFF
##9F3AA21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#A34869
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f3aa2;
/* rgb */ color: rgb(159, 58, 162);
/* oklch */ color: oklch(53.0% 0.183 326.6);
Tailwind
colors: {
  custom: {
    50: '#be78be',
    500: '#9f3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3aa2;
$custom-light: #be78be;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3aa2",
  "rgb": {
    "r": 159,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 298.269,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.18263,
    "h": 326.6
  },
  "luminance": 0.13006
}

Semantic roles & 50–950 ramp

primary
#9F3AA2
secondary
#7DBD7B
accent
#D75155
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9F3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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