#8A487D#8A487D

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

Color values

HEX#8A487D
RGBrgb(138, 72, 125)
HSLhsl(312, 31%, 41%)
HSVhsv(312, 48%, 54%)
CMYKcmyk(0%, 47.8%, 9.4%, 45.9%)
CIE-LABlab(40.44, 35.64, -17.78)
CIE-LCHlch(40.44, 39.83, 333.48°)
OKLaboklab(50.1% 0.1028 -0.048)
OKLCHoklch(50.1% 0.114 335)
XYZxyz(16.5003, 11.5197, 20.7525)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A487D #488A55
analogous
#76488A #8A487D #8A485C
triadic
#8A487D #7D8A48 #487D8A
tetradic
#8A487D #8A7648 #488A55 #485C8A
square
#8A487D #8A7648 #488A55 #485C8A
split-complementary
#8A487D #5C8A48 #488A76
monochromatic
#3A1E34 #623359 #8A487D #AD629E #C28AB7

Accessibility & contrast

On white

6.36
#8A487D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A487D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A487D#FFFFFF#000000##FFFFFF
##8A487D1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597F
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#904B5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a487d;
/* rgb */ color: rgb(138, 72, 125);
/* oklch */ color: oklch(50.1% 0.114 335.0);
Tailwind
colors: {
  custom: {
    50: '#ae7da2',
    500: '#8a487d',
    950: '#000000',
  },
}
SCSS
$custom: #8a487d;
$custom-light: #ae7da2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a487d",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 311.818,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50102,
    "c": 0.1135,
    "h": 335
  },
  "luminance": 0.11519
}

Semantic roles & 50–950 ramp

primary
#8A487D
secondary
#80AE89
accent
#C87560
background
#FAF7FA
surface
#F4EEF3
border
#CEC9CD
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A487D

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

Preview Lab → · Contrast checker → · Palette generator →

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