#9A4E85#9A4E85

#9A4E85 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 53.5% C 0.123 H 338.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9A4E85
RGBrgb(154, 78, 133)
HSLhsl(317, 33%, 45%)
HSVhsv(317, 49%, 60%)
CMYKcmyk(0%, 49.4%, 13.6%, 39.6%)
CIE-LABlab(44.25, 39.09, -16.63)
CIE-LCHlch(44.25, 42.48, 336.95°)
OKLaboklab(53.52% 0.1145 -0.0446)
OKLCHoklch(53.52% 0.123 338.7)
XYZxyz(20.2846, 14.0137, 23.8223)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4E85 #4E9A63
analogous
#894E9A #9A4E85 #9A4E5F
triadic
#9A4E85 #859A4E #4E859A
tetradic
#9A4E85 #9A894E #4E9A63 #4E5F9A
square
#9A4E85 #9A894E #4E9A63 #4E5F9A
split-complementary
#9A4E85 #5F9A4E #4E9A89
monochromatic
#49253F #713962 #9A4E85 #B66FA2 #CB98BD

Accessibility & contrast

On white

5.52
#9A4E85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9A4E85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4E85
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4E85#FFFFFF#000000##FFFFFF
##9A4E851.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516187
Deuteranopia (green-blind)
#656D83
Tritanopia (blue-blind)
#A15063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9a4e85;
/* rgb */ color: rgb(154, 78, 133);
/* oklch */ color: oklch(53.5% 0.123 338.7);
Tailwind
colors: {
  custom: {
    50: '#ba82a8',
    500: '#9a4e85',
    950: '#000000',
  },
}
SCSS
$custom: #9a4e85;
$custom-light: #ba82a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4e85",
  "rgb": {
    "r": 154,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 316.579,
    "s": 32.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53523,
    "c": 0.12286,
    "h": 338.7
  },
  "luminance": 0.14012
}

Semantic roles & 50–950 ramp

primary
#9A4E85
secondary
#8DB798
accent
#C97C5F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#120B0F
muted
#817C7F

Preview Lab

Preview with #9A4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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