#9F4E8A#9F4E8A

#9F4E8A is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.4% C 0.131 H 338.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9F4E8A
RGBrgb(159, 78, 138)
HSLhsl(316, 34%, 46%)
HSVhsv(316, 51%, 62%)
CMYKcmyk(0%, 50.9%, 13.2%, 37.6%)
CIE-LABlab(45.16, 41.55, -18.20)
CIE-LCHlch(45.16, 45.36, 336.34°)
OKLaboklab(54.41% 0.1215 -0.0489)
OKLCHoklch(54.41% 0.131 338.1)
XYZxyz(21.6101, 14.6562, 25.7306)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4E8A #4E9F63
analogous
#8C4E9F #9F4E8A #9F4E62
triadic
#9F4E8A #8A9F4E #4E8A9F
tetradic
#9F4E8A #9F8C4E #4E9F63 #4E629F
square
#9F4E8A #9F8C4E #4E9F63 #4E629F
split-complementary
#9F4E8A #629F4E #4E9F8C
monochromatic
#4D2643 #763A66 #9F4E8A #B971A7 #CD9AC0

Accessibility & contrast

On white

5.34
#9F4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9F4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4E8A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4E8A#FFFFFF#000000##FFFFFF
##9F4E8A1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638C
Deuteranopia (green-blind)
#676F88
Tritanopia (blue-blind)
#A75066
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f4e8a;
/* rgb */ color: rgb(159, 78, 138);
/* oklch */ color: oklch(54.4% 0.131 338.1);
Tailwind
colors: {
  custom: {
    50: '#bd83ac',
    500: '#9f4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9f4e8a;
$custom-light: #bd83ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4e8a",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 315.556,
    "s": 34.177,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54411,
    "c": 0.13103,
    "h": 338.1
  },
  "luminance": 0.14655
}

Semantic roles & 50–950 ramp

primary
#9F4E8A
secondary
#8FBA9A
accent
#CA7A5E
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9F4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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