#9F3176#9F3176

#9F3176 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.162 H 346.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9F3176
RGBrgb(159, 49, 118)
HSLhsl(322, 53%, 41%)
HSVhsv(322, 69%, 62%)
CMYKcmyk(0%, 69.2%, 25.8%, 37.6%)
CIE-LABlab(39.37, 51.96, -14.81)
CIE-LCHlch(39.37, 54.03, 344.10°)
OKLaboklab(49.87% 0.1572 -0.0392)
OKLCHoklch(49.87% 0.162 346)
XYZxyz(18.6672, 10.8775, 18.2525)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3176 #319F5A
analogous
#91319F #9F3176 #9F313F
triadic
#9F3176 #769F31 #31769F
tetradic
#9F3176 #9F9131 #319F5A #313F9F
square
#9F3176 #9F9131 #319F5A #313F9F
split-complementary
#9F3176 #3F9F31 #319F91
monochromatic
#411431 #702353 #9F3176 #C64797 #D576B1

Accessibility & contrast

On white

6.61
#9F3176 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9F3176 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3176
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3176#FFFFFF#000000##FFFFFF
##9F31761.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5178
Deuteranopia (green-blind)
#5E6473
Tritanopia (blue-blind)
#AA2F4F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f3176;
/* rgb */ color: rgb(159, 49, 118);
/* oklch */ color: oklch(49.9% 0.162 346.0);
Tailwind
colors: {
  custom: {
    50: '#bf729d',
    500: '#9f3176',
    950: '#000000',
  },
}
SCSS
$custom: #9f3176;
$custom-light: #bf729d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3176",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 322.364,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49873,
    "c": 0.162,
    "h": 346
  },
  "luminance": 0.10876
}

Semantic roles & 50–950 ramp

primary
#9F3176
secondary
#6FBD8C
accent
#DC814C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F3176

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

Preview Lab → · Contrast checker → · Palette generator →

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