#8A4E7C#8A4E7C

#8A4E7C is a mid, moderate pink. Relative luminance 0.123; OKLCH L 51.0% C 0.102 H 336.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8A4E7C
RGBrgb(138, 78, 124)
HSLhsl(314, 28%, 42%)
HSVhsv(314, 43%, 54%)
CMYKcmyk(0%, 43.5%, 10.1%, 45.9%)
CIE-LABlab(41.70, 32.13, -15.24)
CIE-LCHlch(41.70, 35.56, 334.62°)
OKLaboklab(51.03% 0.0929 -0.041)
OKLCHoklch(51.03% 0.102 336.2)
XYZxyz(16.8437, 12.3083, 20.5534)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4E7C #4E8A5C
analogous
#7A4E8A #8A4E7C #8A4E5E
triadic
#8A4E7C #7C8A4E #4E7C8A
tetradic
#8A4E7C #8A7A4E #4E8A5C #4E5E8A
square
#8A4E7C #8A7A4E #4E8A5C #4E5E8A
split-complementary
#8A4E7C #5E8A4E #4E8A7A
monochromatic
#3C2236 #633859 #8A4E7C #AB6A9C #C191B6

Accessibility & contrast

On white

6.07
#8A4E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8A4E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4E7C
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4E7C#FFFFFF#000000##FFFFFF
##8A4E7C1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7E
Deuteranopia (green-blind)
#5E667A
Tritanopia (blue-blind)
#90505F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4e7c;
/* rgb */ color: rgb(138, 78, 124);
/* oklch */ color: oklch(51.0% 0.102 336.2);
Tailwind
colors: {
  custom: {
    50: '#ad81a2',
    500: '#8a4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #8a4e7c;
$custom-light: #ad81a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4e7c",
  "rgb": {
    "r": 138,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 314,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.10157,
    "h": 336.2
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#8A4E7C
secondary
#86AE8F
accent
#C47A64
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0F
muted
#7F7C7E

Preview Lab

Preview with #8A4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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