#8A507E#8A507E

#8A507E is a mid, moderate pink. Relative luminance 0.126; OKLCH L 51.5% C 0.100 H 335.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8A507E
RGBrgb(138, 80, 126)
HSLhsl(312, 27%, 43%)
HSVhsv(312, 42%, 54%)
CMYKcmyk(0%, 42%, 8.7%, 45.9%)
CIE-LABlab(42.23, 31.37, -15.66)
CIE-LCHlch(42.23, 35.06, 333.47°)
OKLaboklab(51.45% 0.0903 -0.0422)
OKLCHoklch(51.45% 0.1 335)
XYZxyz(17.1157, 12.6479, 21.2744)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A507E #508A5C
analogous
#79508A #8A507E #8A5061
triadic
#8A507E #7E8A50 #507E8A
tetradic
#8A507E #8A7950 #508A5C #50618A
square
#8A507E #8A7950 #508A5C #50618A
split-complementary
#8A507E #618A50 #508A79
monochromatic
#3D2337 #633A5B #8A507E #AA6D9E #C194B7

Accessibility & contrast

On white

5.95
#8A507E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8A507E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A507E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A507E#FFFFFF#000000##FFFFFF
##8A507E1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505E80
Deuteranopia (green-blind)
#5F677C
Tritanopia (blue-blind)
#8F5361
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a507e;
/* rgb */ color: rgb(138, 80, 126);
/* oklch */ color: oklch(51.5% 0.100 335.0);
Tailwind
colors: {
  custom: {
    50: '#ad82a3',
    500: '#8a507e',
    950: '#000000',
  },
}
SCSS
$custom: #8a507e;
$custom-light: #ad82a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a507e",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 312.414,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.09961,
    "h": 335
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#8A507E
secondary
#88AE90
accent
#C37865
background
#FAF8FA
surface
#F4EFF3
border
#CECACD
text
#100A0F
muted
#7F7C7F

Preview Lab

Preview with #8A507E

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

Preview Lab → · Contrast checker → · Palette generator →

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