#9A4E87#9A4E87

#9A4E87 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 53.6% C 0.124 H 337.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9A4E87
RGBrgb(154, 78, 135)
HSLhsl(315, 33%, 45%)
HSVhsv(315, 49%, 60%)
CMYKcmyk(0%, 49.4%, 12.3%, 39.6%)
CIE-LABlab(44.33, 39.43, -17.72)
CIE-LCHlch(44.33, 43.23, 335.80°)
OKLaboklab(53.61% 0.115 -0.0477)
OKLCHoklch(53.61% 0.124 337.5)
XYZxyz(20.4241, 14.0695, 24.5569)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4E87 #4E9A61
analogous
#874E9A #9A4E87 #9A4E61
triadic
#9A4E87 #879A4E #4E879A
tetradic
#9A4E87 #9A874E #4E9A61 #4E619A
square
#9A4E87 #9A874E #4E9A61 #4E619A
split-complementary
#9A4E87 #619A4E #4E9A87
monochromatic
#492540 #713963 #9A4E87 #B66FA4 #CB98BE

Accessibility & contrast

On white

5.51
#9A4E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9A4E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4E87
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4E87#FFFFFF#000000##FFFFFF
##9A4E871.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506289
Deuteranopia (green-blind)
#656D85
Tritanopia (blue-blind)
#A15164
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a4e87;
/* rgb */ color: rgb(154, 78, 135);
/* oklch */ color: oklch(53.6% 0.124 337.5);
Tailwind
colors: {
  custom: {
    50: '#ba82aa',
    500: '#9a4e87',
    950: '#000000',
  },
}
SCSS
$custom: #9a4e87;
$custom-light: #ba82aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4e87",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 315,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53608,
    "c": 0.12447,
    "h": 337.5
  },
  "luminance": 0.14068
}

Semantic roles & 50–950 ramp

primary
#9A4E87
secondary
#8DB797
accent
#C9795F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9A4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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