#8A4E7A#8A4E7A

#8A4E7A is a mid, moderate pink. Relative luminance 0.123; OKLCH L 50.9% C 0.100 H 337.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A4E7A
RGBrgb(138, 78, 122)
HSLhsl(316, 28%, 42%)
HSVhsv(316, 43%, 54%)
CMYKcmyk(0%, 43.5%, 11.6%, 45.9%)
CIE-LABlab(41.62, 31.77, -14.14)
CIE-LCHlch(41.62, 34.78, 336.01°)
OKLaboklab(50.95% 0.0924 -0.0379)
OKLCHoklch(50.95% 0.1 337.7)
XYZxyz(16.7185, 12.2582, 19.8941)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E7A #4E8A5E
analogous
#7C4E8A #8A4E7A #8A4E5C
triadic
#8A4E7A #7A8A4E #4E7A8A
tetradic
#8A4E7A #8A7C4E #4E8A5E #4E5C8A
square
#8A4E7A #8A7C4E #4E8A5E #4E5C8A
split-complementary
#8A4E7A #5C8A4E #4E8A7C
monochromatic
#3C2235 #633857 #8A4E7A #AB6A9A #C191B4

Accessibility & contrast

On white

6.08
#8A4E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8A4E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E7A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E7A#FFFFFF#000000##FFFFFF
##8A4E7A1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7C
Deuteranopia (green-blind)
#5F6678
Tritanopia (blue-blind)
#90505E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4e7a;
/* rgb */ color: rgb(138, 78, 122);
/* oklch */ color: oklch(50.9% 0.100 337.7);
Tailwind
colors: {
  custom: {
    50: '#ad81a0',
    500: '#8a4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e7a;
$custom-light: #ad81a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e7a",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 316,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50948,
    "c": 0.09983,
    "h": 337.7
  },
  "luminance": 0.12257
}

Semantic roles & 50–950 ramp

primary
#8A4E7A
secondary
#86AE91
accent
#C47D64
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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