#8A497D#8A497D

#8A497D is a mid, moderate pink. Relative luminance 0.116; OKLCH L 50.3% C 0.112 H 335.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#8A497D
RGBrgb(138, 73, 125)
HSLhsl(312, 31%, 41%)
HSVhsv(312, 47%, 54%)
CMYKcmyk(0%, 47.1%, 9.4%, 45.9%)
CIE-LABlab(40.65, 35.09, -17.46)
CIE-LCHlch(40.65, 39.19, 333.55°)
OKLaboklab(50.26% 0.1013 -0.0471)
OKLCHoklch(50.26% 0.112 335)
XYZxyz(16.5654, 11.6501, 20.7742)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A497D #498A56
analogous
#77498A #8A497D #8A495D
triadic
#8A497D #7D8A49 #497D8A
tetradic
#8A497D #8A7749 #498A56 #495D8A
square
#8A497D #8A7749 #498A56 #495D8A
split-complementary
#8A497D #5D8A49 #498A77
monochromatic
#3A1F34 #623459 #8A497D #AD639E #C28BB7

Accessibility & contrast

On white

6.31
#8A497D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8A497D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A497D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A497D#FFFFFF#000000##FFFFFF
##8A497D1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A7F
Deuteranopia (green-blind)
#5B637B
Tritanopia (blue-blind)
#904C5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a497d;
/* rgb */ color: rgb(138, 73, 125);
/* oklch */ color: oklch(50.3% 0.112 335.0);
Tailwind
colors: {
  custom: {
    50: '#ae7ea2',
    500: '#8a497d',
    950: '#000000',
  },
}
SCSS
$custom: #8a497d;
$custom-light: #ae7ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a497d",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 125
  },
  "hsl": {
    "h": 312,
    "s": 30.806,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50261,
    "c": 0.11169,
    "h": 335
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#8A497D
secondary
#81AE8A
accent
#C77561
background
#FAF7FA
surface
#F4EEF3
border
#CEC9CD
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A497D

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

Preview Lab → · Contrast checker → · Palette generator →

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