#8A4F73#8A4F73

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

Color values

HEX#8A4F73
RGBrgb(138, 79, 115)
HSLhsl(323, 27%, 43%)
HSVhsv(323, 43%, 54%)
CMYKcmyk(0%, 42.8%, 16.7%, 45.9%)
CIE-LABlab(41.59, 29.99, -9.90)
CIE-LCHlch(41.59, 31.58, 341.73°)
OKLaboklab(50.83% 0.0886 -0.0262)
OKLCHoklch(50.83% 0.092 343.5)
XYZxyz(16.3719, 12.2341, 17.7154)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A4F73 #4F8A66
analogous
#844F8A #8A4F73 #8A4F55
triadic
#8A4F73 #738A4F #4F738A
tetradic
#8A4F73 #8A844F #4F8A66 #4F558A
square
#8A4F73 #8A844F #4F8A66 #4F558A
split-complementary
#8A4F73 #558A4F #4F8A84
monochromatic
#3C2232 #633953 #8A4F73 #AB6C92 #C193AF

Accessibility & contrast

On white

6.09
#8A4F73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8A4F73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A4F73
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A4F73#FFFFFF#000000##FFFFFF
##8A4F731.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535C74
Deuteranopia (green-blind)
#626671
Tritanopia (blue-blind)
#914F5C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a4f73;
/* rgb */ color: rgb(138, 79, 115);
/* oklch */ color: oklch(50.8% 0.092 343.5);
Tailwind
colors: {
  custom: {
    50: '#ad829b',
    500: '#8a4f73',
    950: '#000000',
  },
}
SCSS
$custom: #8a4f73;
$custom-light: #ad829b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a4f73",
  "rgb": {
    "r": 138,
    "g": 79,
    "b": 115
  },
  "hsl": {
    "h": 323.39,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.09234,
    "h": 343.5
  },
  "luminance": 0.12233
}

Semantic roles & 50–950 ramp

primary
#8A4F73
secondary
#87AE96
accent
#C48964
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#100A0E
muted
#7F7C7E

Preview Lab

Preview with #8A4F73

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

Preview Lab → · Contrast checker → · Palette generator →

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