#8A4E76#8A4E76

#8A4E76 is a mid, moderate pink. Relative luminance 0.122; OKLCH L 50.8% C 0.097 H 340.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8A4E76
RGBrgb(138, 78, 118)
HSLhsl(320, 28%, 42%)
HSVhsv(320, 43%, 54%)
CMYKcmyk(0%, 43.5%, 14.5%, 45.9%)
CIE-LABlab(41.47, 31.07, -11.92)
CIE-LCHlch(41.47, 33.27, 339.02°)
OKLaboklab(50.78% 0.0912 -0.0317)
OKLCHoklch(50.78% 0.097 340.8)
XYZxyz(16.4758, 12.1611, 18.6156)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E76 #4E8A62
analogous
#804E8A #8A4E76 #8A4E58
triadic
#8A4E76 #768A4E #4E768A
tetradic
#8A4E76 #8A804E #4E8A62 #4E588A
square
#8A4E76 #8A804E #4E8A62 #4E588A
split-complementary
#8A4E76 #588A4E #4E8A80
monochromatic
#3C2233 #633855 #8A4E76 #AB6A95 #C191B1

Accessibility & contrast

On white

6.12
#8A4E76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#8A4E76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E76
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E76#FFFFFF#000000##FFFFFF
##8A4E761.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515C77
Deuteranopia (green-blind)
#606574
Tritanopia (blue-blind)
#904F5D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4e76;
/* rgb */ color: rgb(138, 78, 118);
/* oklch */ color: oklch(50.8% 0.097 340.8);
Tailwind
colors: {
  custom: {
    50: '#ad819d',
    500: '#8a4e76',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e76;
$custom-light: #ad819d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e76",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 118
  },
  "hsl": {
    "h": 320,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50783,
    "c": 0.09652,
    "h": 340.8
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#8A4E76
secondary
#86AE93
accent
#C48464
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4E76

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

Preview Lab → · Contrast checker → · Palette generator →

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