#8A497B#8A497B

#8A497B is a mid, moderate pink. Relative luminance 0.116; OKLCH L 50.2% C 0.110 H 336.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8A497B
RGBrgb(138, 73, 123)
HSLhsl(314, 31%, 41%)
HSVhsv(314, 47%, 54%)
CMYKcmyk(0%, 47.1%, 10.9%, 45.9%)
CIE-LABlab(40.57, 34.73, -16.36)
CIE-LCHlch(40.57, 38.39, 334.78°)
OKLaboklab(50.17% 0.1007 -0.044)
OKLCHoklch(50.17% 0.11 336.4)
XYZxyz(16.4390, 11.5995, 20.1081)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A497B #498A58
analogous
#79498A #8A497B #8A495B
triadic
#8A497B #7B8A49 #497B8A
tetradic
#8A497B #8A7949 #498A58 #495B8A
square
#8A497B #8A7949 #498A58 #495B8A
split-complementary
#8A497B #5B8A49 #498A79
monochromatic
#3A1F34 #623457 #8A497B #AD639C #C28BB5

Accessibility & contrast

On white

6.33
#8A497B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A497B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A497B
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A497B#FFFFFF#000000##FFFFFF
##8A497B1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7D
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#904C5C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a497b;
/* rgb */ color: rgb(138, 73, 123);
/* oklch */ color: oklch(50.2% 0.110 336.4);
Tailwind
colors: {
  custom: {
    50: '#ae7ea1',
    500: '#8a497b',
    950: '#000000',
  },
}
SCSS
$custom: #8a497b;
$custom-light: #ae7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a497b",
  "rgb": {
    "r": 138,
    "g": 73,
    "b": 123
  },
  "hsl": {
    "h": 313.846,
    "s": 30.806,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.10993,
    "h": 336.4
  },
  "luminance": 0.11598
}

Semantic roles & 50–950 ramp

primary
#8A497B
secondary
#81AE8B
accent
#C77861
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#100A0F
muted
#7F7C7E

Preview Lab

Preview with #8A497B

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

Preview Lab → · Contrast checker → · Palette generator →

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