#8A4E78#8A4E78

#8A4E78 is a mid, moderate pink. Relative luminance 0.122; OKLCH L 50.9% C 0.098 H 339.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A4E78
RGBrgb(138, 78, 120)
HSLhsl(318, 28%, 42%)
HSVhsv(318, 43%, 54%)
CMYKcmyk(0%, 43.5%, 13%, 45.9%)
CIE-LABlab(41.55, 31.42, -13.03)
CIE-LCHlch(41.55, 34.01, 337.48°)
OKLaboklab(50.86% 0.0918 -0.0348)
OKLCHoklch(50.86% 0.098 339.2)
XYZxyz(16.5959, 12.2091, 19.2481)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E78 #4E8A60
analogous
#7E4E8A #8A4E78 #8A4E5A
triadic
#8A4E78 #788A4E #4E788A
tetradic
#8A4E78 #8A7E4E #4E8A60 #4E5A8A
square
#8A4E78 #8A7E4E #4E8A60 #4E5A8A
split-complementary
#8A4E78 #5A8A4E #4E8A7E
monochromatic
#3C2234 #633856 #8A4E78 #AB6A98 #C191B3

Accessibility & contrast

On white

6.10
#8A4E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8A4E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E78
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E78#FFFFFF#000000##FFFFFF
##8A4E781.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505C7A
Deuteranopia (green-blind)
#606576
Tritanopia (blue-blind)
#904F5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4e78;
/* rgb */ color: rgb(138, 78, 120);
/* oklch */ color: oklch(50.9% 0.098 339.2);
Tailwind
colors: {
  custom: {
    50: '#ad819f',
    500: '#8a4e78',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e78;
$custom-light: #ad819f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e78",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 318,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50864,
    "c": 0.09815,
    "h": 339.2
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#8A4E78
secondary
#86AE92
accent
#C48164
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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