#8A487C#8A487C

#8A487C is a mid, moderate pink. Relative luminance 0.115; OKLCH L 50.1% C 0.113 H 335.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#8A487C
RGBrgb(138, 72, 124)
HSLhsl(313, 31%, 41%)
HSVhsv(313, 48%, 54%)
CMYKcmyk(0%, 47.8%, 10.1%, 45.9%)
CIE-LABlab(40.40, 35.46, -17.23)
CIE-LCHlch(40.40, 39.43, 334.08°)
OKLaboklab(50.06% 0.1026 -0.0465)
OKLCHoklch(50.06% 0.113 335.6)
XYZxyz(16.4367, 11.4943, 20.4178)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A487C #488A56
analogous
#77488A #8A487C #8A485B
triadic
#8A487C #7C8A48 #487C8A
tetradic
#8A487C #8A7748 #488A56 #485B8A
square
#8A487C #8A7748 #488A56 #485B8A
split-complementary
#8A487C #5B8A48 #488A77
monochromatic
#3A1E34 #623358 #8A487C #AD629D #C28AB6

Accessibility & contrast

On white

6.37
#8A487C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A487C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A487C
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A487C#FFFFFF#000000##FFFFFF
##8A487C1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597E
Deuteranopia (green-blind)
#5A637A
Tritanopia (blue-blind)
#904B5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a487c;
/* rgb */ color: rgb(138, 72, 124);
/* oklch */ color: oklch(50.1% 0.113 335.6);
Tailwind
colors: {
  custom: {
    50: '#ae7da2',
    500: '#8a487c',
    950: '#000000',
  },
}
SCSS
$custom: #8a487c;
$custom-light: #ae7da2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a487c",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 312.727,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50057,
    "c": 0.11263,
    "h": 335.6
  },
  "luminance": 0.11493
}

Semantic roles & 50–950 ramp

primary
#8A487C
secondary
#80AE8A
accent
#C87660
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0F
muted
#7F7C7E

Preview Lab

Preview with #8A487C

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

Preview Lab → · Contrast checker → · Palette generator →

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