#8A497E#8A497E

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

Color values

HEX#8A497E
RGBrgb(138, 73, 126)
HSLhsl(311, 31%, 41%)
HSVhsv(311, 47%, 54%)
CMYKcmyk(0%, 47.1%, 8.7%, 45.9%)
CIE-LABlab(40.70, 35.27, -18.01)
CIE-LCHlch(40.70, 39.60, 332.95°)
OKLaboklab(50.31% 0.1015 -0.0487)
OKLCHoklch(50.31% 0.113 334.4)
XYZxyz(16.6296, 11.6757, 21.1124)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A497E #498A55
analogous
#76498A #8A497E #8A495E
triadic
#8A497E #7E8A49 #497E8A
tetradic
#8A497E #8A7649 #498A55 #495E8A
square
#8A497E #8A7649 #498A55 #495E8A
split-complementary
#8A497E #5E8A49 #498A76
monochromatic
#3A1F35 #623459 #8A497E #AD639F #C28BB8

Accessibility & contrast

On white

6.30
#8A497E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A497E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A497E
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A497E#FFFFFF#000000##FFFFFF
##8A497E1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A80
Deuteranopia (green-blind)
#5A637C
Tritanopia (blue-blind)
#8F4C5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a497e;
/* rgb */ color: rgb(138, 73, 126);
/* oklch */ color: oklch(50.3% 0.113 334.4);
Tailwind
colors: {
  custom: {
    50: '#ae7ea3',
    500: '#8a497e',
    950: '#000000',
  },
}
SCSS
$custom: #8a497e;
$custom-light: #ae7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a497e",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 311.077,
    "s": 30.806,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50305,
    "c": 0.11257,
    "h": 334.4
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#8A497E
secondary
#81AE89
accent
#C77461
background
#FAF7FA
surface
#F4EEF3
border
#CEC9CD
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A497E

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

Preview Lab → · Contrast checker → · Palette generator →

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