#9F4E87#9F4E87

#9F4E87 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.3% C 0.129 H 339.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9F4E87
RGBrgb(159, 78, 135)
HSLhsl(318, 34%, 46%)
HSVhsv(318, 51%, 62%)
CMYKcmyk(0%, 50.9%, 15.1%, 37.6%)
CIE-LABlab(45.04, 41.05, -16.57)
CIE-LCHlch(45.04, 44.27, 338.02°)
OKLaboklab(54.28% 0.1208 -0.0444)
OKLCHoklch(54.28% 0.129 339.8)
XYZxyz(21.3959, 14.5705, 24.6025)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4E87 #4E9F66
analogous
#8F4E9F #9F4E87 #9F4E5F
triadic
#9F4E87 #879F4E #4E879F
tetradic
#9F4E87 #9F8F4E #4E9F66 #4E5F9F
square
#9F4E87 #9F8F4E #4E9F66 #4E5F9F
split-complementary
#9F4E87 #5F9F4E #4E9F8F
monochromatic
#4D2641 #763A64 #9F4E87 #B971A4 #CD9ABE

Accessibility & contrast

On white

5.37
#9F4E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9F4E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4E87
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4E87#FFFFFF#000000##FFFFFF
##9F4E871.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526389
Deuteranopia (green-blind)
#686F85
Tritanopia (blue-blind)
#A75064
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f4e87;
/* rgb */ color: rgb(159, 78, 135);
/* oklch */ color: oklch(54.3% 0.129 339.8);
Tailwind
colors: {
  custom: {
    50: '#bd83aa',
    500: '#9f4e87',
    950: '#000000',
  },
}
SCSS
$custom: #9f4e87;
$custom-light: #bd83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4e87",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 317.778,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54283,
    "c": 0.12868,
    "h": 339.8
  },
  "luminance": 0.14569
}

Semantic roles & 50–950 ramp

primary
#9F4E87
secondary
#8FBA9C
accent
#CA7E5E
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9F4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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