#8A4F7A#8A4F7A

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

Color values

HEX#8A4F7A
RGBrgb(138, 79, 122)
HSLhsl(316, 27%, 43%)
HSVhsv(316, 43%, 54%)
CMYKcmyk(0%, 42.8%, 11.6%, 45.9%)
CIE-LABlab(41.85, 31.21, -13.80)
CIE-LCHlch(41.85, 34.12, 336.15°)
OKLaboklab(51.12% 0.0907 -0.037)
OKLCHoklch(51.12% 0.098 337.8)
XYZxyz(16.7901, 12.4014, 19.9179)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4F7A #4F8A5F
analogous
#7C4F8A #8A4F7A #8A4F5D
triadic
#8A4F7A #7A8A4F #4F7A8A
tetradic
#8A4F7A #8A7C4F #4F8A5F #4F5D8A
square
#8A4F7A #8A7C4F #4F8A5F #4F5D8A
split-complementary
#8A4F7A #5D8A4F #4F8A7C
monochromatic
#3C2235 #633958 #8A4F7A #AB6C9A #C193B4

Accessibility & contrast

On white

6.03
#8A4F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8A4F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4F7A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4F7A#FFFFFF#000000##FFFFFF
##8A4F7A1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7C
Deuteranopia (green-blind)
#606678
Tritanopia (blue-blind)
#90515F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a4f7a;
/* rgb */ color: rgb(138, 79, 122);
/* oklch */ color: oklch(51.1% 0.098 337.8);
Tailwind
colors: {
  custom: {
    50: '#ad82a0',
    500: '#8a4f7a',
    950: '#000000',
  },
}
SCSS
$custom: #8a4f7a;
$custom-light: #ad82a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4f7a",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 122
  },
  "hsl": {
    "h": 316.271,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.09797,
    "h": 337.8
  },
  "luminance": 0.124
}

Semantic roles & 50–950 ramp

primary
#8A4F7A
secondary
#87AE92
accent
#C47E64
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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