#8A487F#8A487F

#8A487F is a mid, moderate pink. Relative luminance 0.116; OKLCH L 50.2% C 0.115 H 333.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A487F
RGBrgb(138, 72, 127)
HSLhsl(310, 31%, 41%)
HSVhsv(310, 48%, 54%)
CMYKcmyk(0%, 47.8%, 8%, 45.9%)
CIE-LABlab(40.53, 36.00, -18.88)
CIE-LCHlch(40.53, 40.65, 332.32°)
OKLaboklab(50.19% 0.1033 -0.0511)
OKLCHoklch(50.19% 0.115 333.7)
XYZxyz(16.6293, 11.5713, 21.4322)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A487F #488A53
analogous
#74488A #8A487F #8A485E
triadic
#8A487F #7F8A48 #487F8A
tetradic
#8A487F #8A7448 #488A53 #485E8A
square
#8A487F #8A7448 #488A53 #485E8A
split-complementary
#8A487F #5E8A48 #488A74
monochromatic
#3A1E35 #62335A #8A487F #AD62A1 #C28AB9

Accessibility & contrast

On white

6.34
#8A487F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#8A487F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A487F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A487F#FFFFFF#000000##FFFFFF
##8A487F1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475A81
Deuteranopia (green-blind)
#59637D
Tritanopia (blue-blind)
#8F4C5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a487f;
/* rgb */ color: rgb(138, 72, 127);
/* oklch */ color: oklch(50.2% 0.115 333.7);
Tailwind
colors: {
  custom: {
    50: '#ae7da4',
    500: '#8a487f',
    950: '#000000',
  },
}
SCSS
$custom: #8a487f;
$custom-light: #ae7da4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a487f",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 310,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50193,
    "c": 0.11529,
    "h": 333.7
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#8A487F
secondary
#80AE88
accent
#C87160
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A487F

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

Preview Lab → · Contrast checker → · Palette generator →

#8A487F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva