#9A4C8A#9A4C8A

#9A4C8A is a mid, vivid pink. Relative luminance 0.139; OKLCH L 53.4% C 0.130 H 335.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9A4C8A
RGBrgb(154, 76, 138)
HSLhsl(312, 34%, 45%)
HSVhsv(312, 51%, 60%)
CMYKcmyk(0%, 50.6%, 10.4%, 39.6%)
CIE-LABlab(44.05, 40.99, -19.96)
CIE-LCHlch(44.05, 45.60, 334.04°)
OKLaboklab(53.44% 0.1188 -0.0539)
OKLCHoklch(53.44% 0.13 335.6)
XYZxyz(20.4984, 13.8753, 25.6384)
Luminance0.1387 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4C8A #4C9A5C
analogous
#834C9A #9A4C8A #9A4C63
triadic
#9A4C8A #8A9A4C #4C8A9A
tetradic
#9A4C8A #9A834C #4C9A5C #4C639A
square
#9A4C8A #9A834C #4C9A5C #4C639A
split-complementary
#9A4C8A #639A4C #4C9A83
monochromatic
#482441 #713865 #9A4C8A #B76CA7 #CB95C0

Accessibility & contrast

On white

5.56
#9A4C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9A4C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4C8A
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4C8A#FFFFFF#000000##FFFFFF
##9A4C8A1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618C
Deuteranopia (green-blind)
#626C88
Tritanopia (blue-blind)
#A15064
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a4c8a;
/* rgb */ color: rgb(154, 76, 138);
/* oklch */ color: oklch(53.4% 0.130 335.6);
Tailwind
colors: {
  custom: {
    50: '#ba81ac',
    500: '#9a4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9a4c8a;
$custom-light: #ba81ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4c8a",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 312.308,
    "s": 33.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53441,
    "c": 0.13046,
    "h": 335.6
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#9A4C8A
secondary
#8BB794
accent
#CA745E
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120A10
muted
#817C7F

Preview Lab

Preview with #9A4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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