#8A487B#8A487B

#8A487B is a mid, moderate pink. Relative luminance 0.115; OKLCH L 50.0% C 0.112 H 336.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8A487B
RGBrgb(138, 72, 123)
HSLhsl(314, 31%, 41%)
HSVhsv(314, 48%, 54%)
CMYKcmyk(0%, 47.8%, 10.9%, 45.9%)
CIE-LABlab(40.36, 35.28, -16.68)
CIE-LCHlch(40.36, 39.03, 334.69°)
OKLaboklab(50.01% 0.1023 -0.0449)
OKLCHoklch(50.01% 0.112 336.3)
XYZxyz(16.3738, 11.4691, 20.0864)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A487B #488A57
analogous
#78488A #8A487B #8A485A
triadic
#8A487B #7B8A48 #487B8A
tetradic
#8A487B #8A7848 #488A57 #485A8A
square
#8A487B #8A7848 #488A57 #485A8A
split-complementary
#8A487B #5A8A48 #488A78
monochromatic
#3A1E33 #623357 #8A487B #AD629C #C28AB5

Accessibility & contrast

On white

6.38
#8A487B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8A487B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A487B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A487B#FFFFFF#000000##FFFFFF
##8A487B1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#904B5C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a487b;
/* rgb */ color: rgb(138, 72, 123);
/* oklch */ color: oklch(50.0% 0.112 336.3);
Tailwind
colors: {
  custom: {
    50: '#ae7da1',
    500: '#8a487b',
    950: '#000000',
  },
}
SCSS
$custom: #8a487b;
$custom-light: #ae7da1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a487b",
  "rgb": {
    "r": 138,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 313.636,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.11176,
    "h": 336.3
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A487B

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

Preview Lab → · Contrast checker → · Palette generator →

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