#8A4E7F#8A4E7F

#8A4E7F is a mid, moderate pink. Relative luminance 0.124; OKLCH L 51.2% C 0.104 H 334.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A4E7F
RGBrgb(138, 78, 127)
HSLhsl(311, 28%, 42%)
HSVhsv(311, 43%, 54%)
CMYKcmyk(0%, 43.5%, 8%, 45.9%)
CIE-LABlab(41.82, 32.68, -16.89)
CIE-LCHlch(41.82, 36.79, 332.67°)
OKLaboklab(51.16% 0.0938 -0.0456)
OKLCHoklch(51.16% 0.104 334.1)
XYZxyz(17.0363, 12.3853, 21.5678)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E7F #4E8A59
analogous
#774E8A #8A4E7F #8A4E61
triadic
#8A4E7F #7F8A4E #4E7F8A
tetradic
#8A4E7F #8A774E #4E8A59 #4E618A
square
#8A4E7F #8A774E #4E8A59 #4E618A
split-complementary
#8A4E7F #618A4E #4E8A77
monochromatic
#3C2237 #63385B #8A4E7F #AB6A9F #C191B8

Accessibility & contrast

On white

6.04
#8A4E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A4E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E7F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E7F#FFFFFF#000000##FFFFFF
##8A4E7F1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D81
Deuteranopia (green-blind)
#5D667D
Tritanopia (blue-blind)
#8F5161
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4e7f;
/* rgb */ color: rgb(138, 78, 127);
/* oklch */ color: oklch(51.2% 0.104 334.1);
Tailwind
colors: {
  custom: {
    50: '#ad81a4',
    500: '#8a4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e7f;
$custom-light: #ad81a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e7f",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 311,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.10427,
    "h": 334.1
  },
  "luminance": 0.12384
}

Semantic roles & 50–950 ramp

primary
#8A4E7F
secondary
#86AE8D
accent
#C47564
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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