#9E4C8A#9E4C8A

#9E4C8A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.0% C 0.134 H 337.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9E4C8A
RGBrgb(158, 76, 138)
HSLhsl(315, 35%, 46%)
HSVhsv(315, 52%, 62%)
CMYKcmyk(0%, 51.9%, 12.7%, 38%)
CIE-LABlab(44.62, 42.26, -19.04)
CIE-LCHlch(44.62, 46.35, 335.75°)
OKLaboklab(53.98% 0.1234 -0.0513)
OKLCHoklch(53.98% 0.134 337.4)
XYZxyz(21.2726, 14.2745, 25.6747)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E4C8A #4C9E60
analogous
#894C9E #9E4C8A #9E4C61
triadic
#9E4C8A #8A9E4C #4C8A9E
tetradic
#9E4C8A #9E894C #4C9E60 #4C619E
square
#9E4C8A #9E894C #4C9E60 #4C619E
split-complementary
#9E4C8A #619E4C #4C9E89
monochromatic
#4B2442 #753866 #9E4C8A #B96EA7 #CD97C0

Accessibility & contrast

On white

5.45
#9E4C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9E4C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E4C8A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E4C8A#FFFFFF#000000##FFFFFF
##9E4C8A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E628C
Deuteranopia (green-blind)
#656E88
Tritanopia (blue-blind)
#A54F65
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9e4c8a;
/* rgb */ color: rgb(158, 76, 138);
/* oklch */ color: oklch(54.0% 0.134 337.4);
Tailwind
colors: {
  custom: {
    50: '#bd81ac',
    500: '#9e4c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9e4c8a;
$custom-light: #bd81ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e4c8a",
  "rgb": {
    "r": 158,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 314.634,
    "s": 35.043,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53983,
    "c": 0.13365,
    "h": 337.4
  },
  "luminance": 0.14273
}

Semantic roles & 50–950 ramp

primary
#9E4C8A
secondary
#8CB997
accent
#CB785D
background
#FBF8FA
surface
#F7EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9E4C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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