#9A4F87#9A4F87

#9A4F87 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 53.8% C 0.123 H 337.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9A4F87
RGBrgb(154, 79, 135)
HSLhsl(315, 32%, 46%)
HSVhsv(315, 49%, 60%)
CMYKcmyk(0%, 48.7%, 12.3%, 39.6%)
CIE-LABlab(44.54, 38.90, -17.41)
CIE-LCHlch(44.54, 42.62, 335.89°)
OKLaboklab(53.76% 0.1134 -0.0468)
OKLCHoklch(53.76% 0.123 337.6)
XYZxyz(20.4957, 14.2126, 24.5808)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4F87 #4F9A62
analogous
#874F9A #9A4F87 #9A4F61
triadic
#9A4F87 #879A4F #4F879A
tetradic
#9A4F87 #9A874F #4F9A62 #4F619A
square
#9A4F87 #9A874F #4F9A62 #4F619A
split-complementary
#9A4F87 #619A4F #4F9A87
monochromatic
#492540 #723A64 #9A4F87 #B670A4 #CB99BE

Accessibility & contrast

On white

5.47
#9A4F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9A4F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4F87
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4F87#FFFFFF#000000##FFFFFF
##9A4F871.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516289
Deuteranopia (green-blind)
#656E85
Tritanopia (blue-blind)
#A15165
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a4f87;
/* rgb */ color: rgb(154, 79, 135);
/* oklch */ color: oklch(53.8% 0.123 337.6);
Tailwind
colors: {
  custom: {
    50: '#b983aa',
    500: '#9a4f87',
    950: '#000000',
  },
}
SCSS
$custom: #9a4f87;
$custom-light: #b983aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4f87",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 315.2,
    "s": 32.189,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53761,
    "c": 0.12271,
    "h": 337.6
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#9A4F87
secondary
#8EB798
accent
#C87A5F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9A4F87

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

Preview Lab → · Contrast checker → · Palette generator →

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