#8A5481#8A5481

#8A5481 is a mid, moderate pink. Relative luminance 0.133; OKLCH L 52.3% C 0.095 H 333.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8A5481
RGBrgb(138, 84, 129)
HSLhsl(310, 24%, 44%)
HSVhsv(310, 39%, 54%)
CMYKcmyk(0%, 39.1%, 6.5%, 45.9%)
CIE-LABlab(43.26, 29.65, -15.92)
CIE-LCHlch(43.26, 33.65, 331.77°)
OKLaboklab(52.27% 0.0846 -0.0429)
OKLCHoklch(52.27% 0.095 333.1)
XYZxyz(17.6139, 13.3298, 22.4097)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A5481 #548A5D
analogous
#78548A #8A5481 #8A5466
triadic
#8A5481 #818A54 #54818A
tetradic
#8A5481 #8A7854 #548A5D #54668A
square
#8A5481 #8A7854 #548A5D #54668A
split-complementary
#8A5481 #668A54 #548A78
monochromatic
#3E263A #643D5D #8A5481 #A972A0 #C098BA

Accessibility & contrast

On white

5.73
#8A5481 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8A5481 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A5481
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A5481#FFFFFF#000000##FFFFFF
##8A54811.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536183
Deuteranopia (green-blind)
#61697F
Tritanopia (blue-blind)
#8F5765
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8a5481;
/* rgb */ color: rgb(138, 84, 129);
/* oklch */ color: oklch(52.3% 0.095 333.1);
Tailwind
colors: {
  custom: {
    50: '#ad85a5',
    500: '#8a5481',
    950: '#000000',
  },
}
SCSS
$custom: #8a5481;
$custom-light: #ad85a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a5481",
  "rgb": {
    "r": 138,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 310,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.09484,
    "h": 333.1
  },
  "luminance": 0.13329
}

Semantic roles & 50–950 ramp

primary
#8A5481
secondary
#8CAE92
accent
#C17667
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B0F
muted
#7F7C7F

Preview Lab

Preview with #8A5481

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

Preview Lab → · Contrast checker → · Palette generator →

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