#9A487D#9A487D

#9A487D is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.3% C 0.127 H 342.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#9A487D
RGBrgb(154, 72, 125)
HSLhsl(321, 36%, 44%)
HSVhsv(321, 53%, 60%)
CMYKcmyk(0%, 53.2%, 18.8%, 39.6%)
CIE-LABlab(42.74, 40.91, -14.06)
CIE-LCHlch(42.74, 43.26, 341.03°)
OKLaboklab(52.3% 0.1216 -0.0374)
OKLCHoklch(52.3% 0.127 342.9)
XYZxyz(19.3458, 12.9870, 20.8859)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A487D #489A65
analogous
#8E489A #9A487D #9A4854
triadic
#9A487D #7D9A48 #487D9A
tetradic
#9A487D #9A8E48 #489A65 #48549A
square
#9A487D #9A8E48 #489A65 #48549A
split-complementary
#9A487D #549A48 #489A8E
monochromatic
#472139 #70355B #9A487D #B8679B #CC91B7

Accessibility & contrast

On white

5.84
#9A487D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9A487D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A487D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A487D#FFFFFF#000000##FFFFFF
##9A487D1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D7F
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#A3485D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a487d;
/* rgb */ color: rgb(154, 72, 125);
/* oklch */ color: oklch(52.3% 0.127 342.9);
Tailwind
colors: {
  custom: {
    50: '#ba7ea2',
    500: '#9a487d',
    950: '#000000',
  },
}
SCSS
$custom: #9a487d;
$custom-light: #ba7ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a487d",
  "rgb": {
    "r": 154,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 321.22,
    "s": 36.283,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52295,
    "c": 0.12722,
    "h": 342.9
  },
  "luminance": 0.12985
}

Semantic roles & 50–950 ramp

primary
#9A487D
secondary
#86B798
accent
#CC835C
background
#FBF7FA
surface
#F6EEF3
border
#D0C9CD
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #9A487D

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

Preview Lab → · Contrast checker → · Palette generator →

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