#9A4E8A#9A4E8A

#9A4E8A is a mid, vivid pink. Relative luminance 0.142; OKLCH L 53.7% C 0.127 H 335.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#9A4E8A
RGBrgb(154, 78, 138)
HSLhsl(313, 33%, 45%)
HSVhsv(313, 49%, 60%)
CMYKcmyk(0%, 49.4%, 10.4%, 39.6%)
CIE-LABlab(44.45, 39.95, -19.34)
CIE-LCHlch(44.45, 44.38, 334.16°)
OKLaboklab(53.74% 0.1157 -0.0522)
OKLCHoklch(53.74% 0.127 335.7)
XYZxyz(20.6383, 14.1551, 25.6850)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4E8A #4E9A5E
analogous
#844E9A #9A4E8A #9A4E64
triadic
#9A4E8A #8A9A4E #4E8A9A
tetradic
#9A4E8A #9A844E #4E9A5E #4E649A
square
#9A4E8A #9A844E #4E9A5E #4E649A
split-complementary
#9A4E8A #649A4E #4E9A84
monochromatic
#492541 #713966 #9A4E8A #B66FA7 #CB98C0

Accessibility & contrast

On white

5.48
#9A4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9A4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4E8A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4E8A#FFFFFF#000000##FFFFFF
##9A4E8A1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628C
Deuteranopia (green-blind)
#646D88
Tritanopia (blue-blind)
#A15165
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a4e8a;
/* rgb */ color: rgb(154, 78, 138);
/* oklch */ color: oklch(53.7% 0.127 335.7);
Tailwind
colors: {
  custom: {
    50: '#ba82ac',
    500: '#9a4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9a4e8a;
$custom-light: #ba82ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4e8a",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 312.632,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5374,
    "c": 0.12697,
    "h": 335.7
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#9A4E8A
secondary
#8DB796
accent
#C9755F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9A4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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