#8A5E7E#8A5E7E

#8A5E7E is a mid, moderate pink. Relative luminance 0.149; OKLCH L 53.9% C 0.073 H 337.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8A5E7E
RGBrgb(138, 94, 126)
HSLhsl(316, 19%, 45%)
HSVhsv(316, 32%, 54%)
CMYKcmyk(0%, 31.9%, 8.7%, 45.9%)
CIE-LABlab(45.52, 23.29, -10.67)
CIE-LCHlch(45.52, 25.62, 335.38°)
OKLaboklab(53.95% 0.0671 -0.0285)
OKLCHoklch(53.95% 0.073 337)
XYZxyz(18.2497, 14.9158, 21.6524)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5E7E #5E8A6A
analogous
#805E8A #8A5E7E #8A5E68
triadic
#8A5E7E #7E8A5E #5E7E8A
tetradic
#8A5E7E #8A805E #5E8A6A #5E688A
square
#8A5E7E #8A805E #5E8A6A #5E688A
split-complementary
#8A5E7E #688A5E #5E8A80
monochromatic
#412C3C #66455D #8A5E7E #A77E9C #C0A2B8

Accessibility & contrast

On white

5.27
#8A5E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8A5E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5E7E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5E7E#FFFFFF#000000##FFFFFF
##8A5E7E1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F687F
Deuteranopia (green-blind)
#696E7D
Tritanopia (blue-blind)
#8F5F69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8a5e7e;
/* rgb */ color: rgb(138, 94, 126);
/* oklch */ color: oklch(53.9% 0.073 337.0);
Tailwind
colors: {
  custom: {
    50: '#ad8ca3',
    500: '#8a5e7e',
    950: '#000000',
  },
}
SCSS
$custom: #8a5e7e;
$custom-light: #ad8ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5e7e",
  "rgb": {
    "r": 138,
    "g": 94,
    "b": 126
  },
  "hsl": {
    "h": 316.364,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53947,
    "c": 0.07285,
    "h": 337
  },
  "luminance": 0.14915
}

Semantic roles & 50–950 ramp

primary
#8A5E7E
secondary
#96AE9C
accent
#BC826C
background
#FAF8FA
surface
#F4F0F3
border
#CECBCD
text
#100C0F
muted
#7F7D7F

Preview Lab

Preview with #8A5E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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