#9F3499#9F3499

#9F3499 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.183 H 330.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9F3499
RGBrgb(159, 52, 153)
HSLhsl(303, 51%, 41%)
HSVhsv(303, 67%, 62%)
CMYKcmyk(0%, 67.3%, 3.8%, 37.6%)
CIE-LABlab(41.42, 56.09, -33.07)
CIE-LCHlch(41.42, 65.11, 329.48°)
OKLaboklab(51.89% 0.1589 -0.0911)
OKLCHoklch(51.89% 0.183 330.2)
XYZxyz(21.2757, 12.1284, 31.3512)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3499 #349F3A
analogous
#70349F #9F3499 #9F3464
triadic
#9F3499 #999F34 #34999F
tetradic
#9F3499 #9F7034 #349F3A #34649F
square
#9F3499 #9F7034 #349F3A #34649F
split-complementary
#9F3499 #649F34 #349F70
monochromatic
#431640 #71256D #9F3499 #C44CBE #D37ACE

Accessibility & contrast

On white

6.13
#9F3499 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9F3499 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3499
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3499#FFFFFF#000000##FFFFFF
##9F34991.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#526796
Tritanopia (blue-blind)
#A54062
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f3499;
/* rgb */ color: rgb(159, 52, 153);
/* oklch */ color: oklch(51.9% 0.183 330.2);
Tailwind
colors: {
  custom: {
    50: '#bf74b7',
    500: '#9f3499',
    950: '#000000',
  },
}
SCSS
$custom: #9f3499;
$custom-light: #bf74b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3499",
  "rgb": {
    "r": 159,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 303.364,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5189,
    "c": 0.18314,
    "h": 330.2
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#9F3499
secondary
#73BC77
accent
#DA554E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #9F3499

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

Preview Lab → · Contrast checker → · Palette generator →

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