#9F4591#9F4591

#9F4591 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.5% C 0.152 H 333.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9F4591
RGBrgb(159, 69, 145)
HSLhsl(309, 39%, 45%)
HSVhsv(309, 57%, 62%)
CMYKcmyk(0%, 56.6%, 8.8%, 37.6%)
CIE-LABlab(43.76, 47.24, -24.58)
CIE-LCHlch(43.76, 53.25, 332.51°)
OKLaboklab(53.47% 0.1362 -0.0669)
OKLCHoklch(53.47% 0.152 333.9)
XYZxyz(21.5371, 13.6730, 28.2874)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4591 #459F53
analogous
#80459F #9F4591 #9F4564
triadic
#9F4591 #919F45 #45919F
tetradic
#9F4591 #9F8045 #459F53 #45649F
square
#9F4591 #9F8045 #459F53 #45649F
split-complementary
#9F4591 #649F45 #459F80
monochromatic
#4A2043 #74326A #9F4591 #BC65AF #CF90C5

Accessibility & contrast

On white

5.62
#9F4591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9F4591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4591
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4591#FFFFFF#000000##FFFFFF
##9F45911.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445F93
Deuteranopia (green-blind)
#5F6C8F
Tritanopia (blue-blind)
#A64B65
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f4591;
/* rgb */ color: rgb(159, 69, 145);
/* oklch */ color: oklch(53.5% 0.152 333.9);
Tailwind
colors: {
  custom: {
    50: '#be7db1',
    500: '#9f4591',
    950: '#000000',
  },
}
SCSS
$custom: #9f4591;
$custom-light: #be7db1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4591",
  "rgb": {
    "r": 159,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 309.333,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53473,
    "c": 0.15176,
    "h": 333.9
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#9F4591
secondary
#86BA8E
accent
#CF6B58
background
#FBF7FA
surface
#F7EEF5
border
#D0C9CF
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9F4591

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

Preview Lab → · Contrast checker → · Palette generator →

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