#8A467D#8A467D

#8A467D is a mid, moderate pink. Relative luminance 0.113; OKLCH L 49.8% C 0.117 H 334.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A467D
RGBrgb(138, 70, 125)
HSLhsl(311, 33%, 41%)
HSVhsv(311, 49%, 54%)
CMYKcmyk(0%, 49.3%, 9.4%, 45.9%)
CIE-LABlab(40.02, 36.72, -18.43)
CIE-LCHlch(40.02, 41.09, 333.35°)
OKLaboklab(49.79% 0.106 -0.0498)
OKLCHoklch(49.79% 0.117 334.8)
XYZxyz(16.3731, 11.2653, 20.7101)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A467D #468A53
analogous
#75468A #8A467D #8A465B
triadic
#8A467D #7D8A46 #467D8A
tetradic
#8A467D #8A7546 #468A53 #465B8A
square
#8A467D #8A7546 #468A53 #465B8A
split-complementary
#8A467D #5B8A46 #468A75
monochromatic
#391D33 #613158 #8A467D #AE5F9F #C388B7

Accessibility & contrast

On white

6.46
#8A467D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A467D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A467D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A467D#FFFFFF#000000##FFFFFF
##8A467D1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587F
Deuteranopia (green-blind)
#59627B
Tritanopia (blue-blind)
#90495C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a467d;
/* rgb */ color: rgb(138, 70, 125);
/* oklch */ color: oklch(49.8% 0.117 334.8);
Tailwind
colors: {
  custom: {
    50: '#ae7ca2',
    500: '#8a467d',
    950: '#000000',
  },
}
SCSS
$custom: #8a467d;
$custom-light: #ae7ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a467d",
  "rgb": {
    "r": 138,
    "g": 70,
    "b": 125
  },
  "hsl": {
    "h": 311.471,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4979,
    "c": 0.11711,
    "h": 334.8
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#8A467D
secondary
#7EAE87
accent
#C9735F
background
#FAF7FA
surface
#F5EEF3
border
#CFC9CD
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A467D

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

Preview Lab → · Contrast checker → · Palette generator →

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