#9F4C8A#9F4C8A

#9F4C8A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.1% C 0.134 H 337.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9F4C8A
RGBrgb(159, 76, 138)
HSLhsl(315, 35%, 46%)
HSVhsv(315, 52%, 62%)
CMYKcmyk(0%, 52.2%, 13.2%, 37.6%)
CIE-LABlab(44.77, 42.58, -18.80)
CIE-LCHlch(44.77, 46.55, 336.17°)
OKLaboklab(54.12% 0.1246 -0.0506)
OKLCHoklch(54.12% 0.134 337.9)
XYZxyz(21.4702, 14.3763, 25.6839)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4C8A #4C9F61
analogous
#8A4C9F #9F4C8A #9F4C60
triadic
#9F4C8A #8A9F4C #4C8A9F
tetradic
#9F4C8A #9F8A4C #4C9F61 #4C609F
square
#9F4C8A #9F8A4C #4C9F61 #4C609F
split-complementary
#9F4C8A #609F4C #4C9F8A
monochromatic
#4C2442 #763866 #9F4C8A #BA6EA7 #CE98C0

Accessibility & contrast

On white

5.42
#9F4C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9F4C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4C8A
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4C8A#FFFFFF#000000##FFFFFF
##9F4C8A1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E628C
Deuteranopia (green-blind)
#666F88
Tritanopia (blue-blind)
#A74F65
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f4c8a;
/* rgb */ color: rgb(159, 76, 138);
/* oklch */ color: oklch(54.1% 0.134 337.9);
Tailwind
colors: {
  custom: {
    50: '#bd81ac',
    500: '#9f4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9f4c8a;
$custom-light: #bd81ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4c8a",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 315.181,
    "s": 35.319,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5412,
    "c": 0.13446,
    "h": 337.9
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#9F4C8A
secondary
#8DBA98
accent
#CB795C
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9F4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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