#8A487E#8A487E

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

Color values

HEX#8A487E
RGBrgb(138, 72, 126)
HSLhsl(311, 31%, 41%)
HSVhsv(311, 48%, 54%)
CMYKcmyk(0%, 47.8%, 8.7%, 45.9%)
CIE-LABlab(40.48, 35.82, -18.33)
CIE-LCHlch(40.48, 40.24, 332.90°)
OKLaboklab(50.15% 0.1031 -0.0496)
OKLCHoklch(50.15% 0.114 334.3)
XYZxyz(16.5645, 11.5454, 21.0906)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A487E #488A54
analogous
#75488A #8A487E #8A485D
triadic
#8A487E #7E8A48 #487E8A
tetradic
#8A487E #8A7548 #488A54 #485D8A
square
#8A487E #8A7548 #488A54 #485D8A
split-complementary
#8A487E #5D8A48 #488A75
monochromatic
#3A1E35 #623359 #8A487E #AD629F #C28AB8

Accessibility & contrast

On white

6.35
#8A487E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A487E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A487E#FFFFFF#000000##FFFFFF
##8A487E1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485980
Deuteranopia (green-blind)
#5A637C
Tritanopia (blue-blind)
#904B5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a487e;
/* rgb */ color: rgb(138, 72, 126);
/* oklch */ color: oklch(50.1% 0.114 334.3);
Tailwind
colors: {
  custom: {
    50: '#ae7da3',
    500: '#8a487e',
    950: '#000000',
  },
}
SCSS
$custom: #8a487e;
$custom-light: #ae7da3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a487e",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 310.909,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.11439,
    "h": 334.3
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#8A487E
secondary
#80AE88
accent
#C87360
background
#FAF7FA
surface
#F4EEF3
border
#CEC9CD
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A487E

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

Preview Lab → · Contrast checker → · Palette generator →

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