#9A4F85#9A4F85

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

Color values

HEX#9A4F85
RGBrgb(154, 79, 133)
HSLhsl(317, 32%, 46%)
HSVhsv(317, 49%, 60%)
CMYKcmyk(0%, 48.7%, 13.6%, 39.6%)
CIE-LABlab(44.46, 38.56, -16.32)
CIE-LCHlch(44.46, 41.87, 337.06°)
OKLaboklab(53.68% 0.1129 -0.0438)
OKLCHoklch(53.68% 0.121 338.8)
XYZxyz(20.3562, 14.1568, 23.8461)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4F85 #4F9A64
analogous
#894F9A #9A4F85 #9A4F5F
triadic
#9A4F85 #859A4F #4F859A
tetradic
#9A4F85 #9A894F #4F9A64 #4F5F9A
square
#9A4F85 #9A894F #4F9A64 #4F5F9A
split-complementary
#9A4F85 #5F9A4F #4F9A89
monochromatic
#49253F #723A62 #9A4F85 #B670A2 #CB99BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A4F85#FFFFFF#000000##FFFFFF
##9A4F851.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)
#526287
Deuteranopia (green-blind)
#666D83
Tritanopia (blue-blind)
#A15164
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a4f85;
/* rgb */ color: rgb(154, 79, 133);
/* oklch */ color: oklch(53.7% 0.121 338.8);
Tailwind
colors: {
  custom: {
    50: '#b983a8',
    500: '#9a4f85',
    950: '#000000',
  },
}
SCSS
$custom: #9a4f85;
$custom-light: #b983a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4f85",
  "rgb": {
    "r": 154,
    "g": 79,
    "b": 133
  },
  "hsl": {
    "h": 316.8,
    "s": 32.189,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.12109,
    "h": 338.8
  },
  "luminance": 0.14155
}

Semantic roles & 50–950 ramp

primary
#9A4F85
secondary
#8EB799
accent
#C87D5F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B0F
muted
#817C7F

Preview Lab

Preview with #9A4F85

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

Preview Lab → · Contrast checker → · Palette generator →

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