#9A4E82#9A4E82

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

Color values

HEX#9A4E82
RGBrgb(154, 78, 130)
HSLhsl(319, 33%, 45%)
HSVhsv(319, 49%, 60%)
CMYKcmyk(0%, 49.4%, 15.6%, 39.6%)
CIE-LABlab(44.14, 38.59, -14.99)
CIE-LCHlch(44.14, 41.40, 338.77°)
OKLaboklab(53.4% 0.1137 -0.04)
OKLCHoklch(53.4% 0.121 340.6)
XYZxyz(20.0803, 13.9319, 22.7463)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4E82 #4E9A66
analogous
#8C4E9A #9A4E82 #9A4E5C
triadic
#9A4E82 #829A4E #4E829A
tetradic
#9A4E82 #9A8C4E #4E9A66 #4E5C9A
square
#9A4E82 #9A8C4E #4E9A66 #4E5C9A
split-complementary
#9A4E82 #5C9A4E #4E9A8C
monochromatic
#49253D #713960 #9A4E82 #B66FA0 #CB98BB

Accessibility & contrast

On white

5.55
#9A4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9A4E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4E82
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4E82#FFFFFF#000000##FFFFFF
##9A4E821.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526184
Deuteranopia (green-blind)
#666D80
Tritanopia (blue-blind)
#A24F62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9a4e82;
/* rgb */ color: rgb(154, 78, 130);
/* oklch */ color: oklch(53.4% 0.121 340.6);
Tailwind
colors: {
  custom: {
    50: '#ba82a6',
    500: '#9a4e82',
    950: '#000000',
  },
}
SCSS
$custom: #9a4e82;
$custom-light: #ba82a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4e82",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 318.947,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53396,
    "c": 0.12051,
    "h": 340.6
  },
  "luminance": 0.13931
}

Semantic roles & 50–950 ramp

primary
#9A4E82
secondary
#8DB79A
accent
#C9805F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B0F
muted
#817C7F

Preview Lab

Preview with #9A4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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