#9F4E91#9F4E91

#9F4E91 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 54.7% C 0.137 H 334.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9F4E91
RGBrgb(159, 78, 145)
HSLhsl(310, 34%, 46%)
HSVhsv(310, 51%, 62%)
CMYKcmyk(0%, 50.9%, 8.8%, 37.6%)
CIE-LABlab(45.45, 42.75, -21.97)
CIE-LCHlch(45.45, 48.06, 332.80°)
OKLaboklab(54.72% 0.1232 -0.0595)
OKLCHoklch(54.72% 0.137 334.2)
XYZxyz(22.1333, 14.8655, 28.4861)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4E91 #4E9F5C
analogous
#854E9F #9F4E91 #9F4E69
triadic
#9F4E91 #919F4E #4E919F
tetradic
#9F4E91 #9F854E #4E9F5C #4E699F
square
#9F4E91 #9F854E #4E9F5C #4E699F
split-complementary
#9F4E91 #699F4E #4E9F85
monochromatic
#4D2646 #763A6C #9F4E91 #B971AD #CD9AC5

Accessibility & contrast

On white

5.29
#9F4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9F4E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4E91
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4E91#FFFFFF#000000##FFFFFF
##9F4E911.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6493
Deuteranopia (green-blind)
#64708F
Tritanopia (blue-blind)
#A65369
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f4e91;
/* rgb */ color: rgb(159, 78, 145);
/* oklch */ color: oklch(54.7% 0.137 334.2);
Tailwind
colors: {
  custom: {
    50: '#bd83b1',
    500: '#9f4e91',
    950: '#000000',
  },
}
SCSS
$custom: #9f4e91;
$custom-light: #bd83b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4e91",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 310.37,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.13681,
    "h": 334.2
  },
  "luminance": 0.14864
}

Semantic roles & 50–950 ramp

primary
#9F4E91
secondary
#8FBA96
accent
#CA705E
background
#FBF8FA
surface
#F7EFF5
border
#D0CACF
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9F4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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