#8A537D#8A537D

#8A537D is a mid, moderate pink. Relative luminance 0.131; OKLCH L 51.9% C 0.093 H 336.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8A537D
RGBrgb(138, 83, 125)
HSLhsl(314, 25%, 43%)
HSVhsv(314, 40%, 54%)
CMYKcmyk(0%, 39.9%, 9.4%, 45.9%)
CIE-LABlab(42.87, 29.48, -14.07)
CIE-LCHlch(42.87, 32.66, 334.48°)
OKLaboklab(51.93% 0.085 -0.0378)
OKLCHoklch(51.93% 0.093 336.1)
XYZxyz(17.2761, 13.0714, 21.0111)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A537D #538A60
analogous
#7B538A #8A537D #8A5361
triadic
#8A537D #7D8A53 #537D8A
tetradic
#8A537D #8A7B53 #538A60 #53618A
square
#8A537D #8A7B53 #538A60 #53618A
split-complementary
#8A537D #618A53 #538A7B
monochromatic
#3E2538 #643C5A #8A537D #A9719C #C097B7

Accessibility & contrast

On white

5.81
#8A537D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8A537D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A537D
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A537D#FFFFFF#000000##FFFFFF
##8A537D1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607F
Deuteranopia (green-blind)
#62687B
Tritanopia (blue-blind)
#8F5562
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a537d;
/* rgb */ color: rgb(138, 83, 125);
/* oklch */ color: oklch(51.9% 0.093 336.1);
Tailwind
colors: {
  custom: {
    50: '#ad84a2',
    500: '#8a537d',
    950: '#000000',
  },
}
SCSS
$custom: #8a537d;
$custom-light: #ad84a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a537d",
  "rgb": {
    "r": 138,
    "g": 83,
    "b": 125
  },
  "hsl": {
    "h": 314.182,
    "s": 24.887,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51926,
    "c": 0.09305,
    "h": 336.1
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#8A537D
secondary
#8BAE93
accent
#C17C66
background
#FAF8FA
surface
#F4EFF3
border
#CECACD
text
#100B0F
muted
#7F7C7F

Preview Lab

Preview with #8A537D

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

Preview Lab → · Contrast checker → · Palette generator →

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