#9A4E8D#9A4E8D

#9A4E8D is a mid, vivid pink. Relative luminance 0.142; OKLCH L 53.9% C 0.130 H 334.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9A4E8D
RGBrgb(154, 78, 141)
HSLhsl(310, 33%, 45%)
HSVhsv(310, 49%, 60%)
CMYKcmyk(0%, 49.4%, 8.4%, 39.6%)
CIE-LABlab(44.58, 40.47, -20.96)
CIE-LCHlch(44.58, 45.58, 332.62°)
OKLaboklab(53.87% 0.1164 -0.0568)
OKLCHoklch(53.87% 0.13 334)
XYZxyz(20.8585, 14.2432, 26.8447)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4E8D #4E9A5B
analogous
#814E9A #9A4E8D #9A4E67
triadic
#9A4E8D #8D9A4E #4E8D9A
tetradic
#9A4E8D #9A814E #4E9A5B #4E679A
square
#9A4E8D #9A814E #4E9A5B #4E679A
split-complementary
#9A4E8D #679A4E #4E9A81
monochromatic
#492543 #713968 #9A4E8D #B66FAA #CB98C2

Accessibility & contrast

On white

5.46
#9A4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A4E8D
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4E8D#FFFFFF#000000##FFFFFF
##9A4E8D1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D628F
Deuteranopia (green-blind)
#636D8B
Tritanopia (blue-blind)
#A05267
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a4e8d;
/* rgb */ color: rgb(154, 78, 141);
/* oklch */ color: oklch(53.9% 0.130 334.0);
Tailwind
colors: {
  custom: {
    50: '#b982ae',
    500: '#9a4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9a4e8d;
$custom-light: #b982ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4e8d",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 310.263,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53874,
    "c": 0.12954,
    "h": 334
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

primary
#9A4E8D
secondary
#8DB794
accent
#C9715F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B10
muted
#817C7F

Preview Lab

Preview with #9A4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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