#8A4E7E#8A4E7E

#8A4E7E is a mid, moderate pink. Relative luminance 0.124; OKLCH L 51.1% C 0.103 H 334.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8A4E7E
RGBrgb(138, 78, 126)
HSLhsl(312, 28%, 42%)
HSVhsv(312, 43%, 54%)
CMYKcmyk(0%, 43.5%, 8.7%, 45.9%)
CIE-LABlab(41.78, 32.50, -16.34)
CIE-LCHlch(41.78, 36.37, 333.30°)
OKLaboklab(51.12% 0.0935 -0.044)
OKLCHoklch(51.12% 0.103 334.8)
XYZxyz(16.9715, 12.3594, 21.2263)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E7E #4E8A5A
analogous
#784E8A #8A4E7E #8A4E60
triadic
#8A4E7E #7E8A4E #4E7E8A
tetradic
#8A4E7E #8A784E #4E8A5A #4E608A
square
#8A4E7E #8A784E #4E8A5A #4E608A
split-complementary
#8A4E7E #608A4E #4E8A78
monochromatic
#3C2237 #63385A #8A4E7E #AB6A9E #C191B8

Accessibility & contrast

On white

6.05
#8A4E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8A4E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E7E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E7E#FFFFFF#000000##FFFFFF
##8A4E7E1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D80
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#8F5160
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4e7e;
/* rgb */ color: rgb(138, 78, 126);
/* oklch */ color: oklch(51.1% 0.103 334.8);
Tailwind
colors: {
  custom: {
    50: '#ad81a3',
    500: '#8a4e7e',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e7e;
$custom-light: #ad81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e7e",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 312,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.10336,
    "h": 334.8
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#8A4E7E
secondary
#86AE8E
accent
#C47764
background
#FAF8FA
surface
#F4EFF3
border
#CECACD
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A4E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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