#8A508F#8A508F

#8A508F is a mid, moderate purple. Relative luminance 0.131; OKLCH L 52.2% C 0.116 H 324.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A508F
RGBrgb(138, 80, 143)
HSLhsl(295, 28%, 44%)
HSVhsv(295, 44%, 56%)
CMYKcmyk(3.5%, 44.1%, 0%, 43.9%)
CIE-LABlab(42.95, 34.66, -24.86)
CIE-LCHlch(42.95, 42.65, 324.35°)
OKLaboklab(52.23% 0.0944 -0.0682)
OKLCHoklch(52.23% 0.116 324.2)
XYZxyz(18.3073, 13.1245, 27.5502)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A508F #558F50
analogous
#6A508F #8A508F #8F5074
triadic
#8A508F #8F8A50 #508F8A
tetradic
#8A508F #8F6A50 #558F50 #50748F
square
#8A508F #8F6A50 #558F50 #50748F
split-complementary
#8A508F #748F50 #508F6A
monochromatic
#3E2441 #643A68 #8A508F #A96EAE #C095C4

Accessibility & contrast

On white

5.79
#8A508F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8A508F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A508F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A508F#FFFFFF#000000##FFFFFF
##8A508F1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496191
Deuteranopia (green-blind)
#59688D
Tritanopia (blue-blind)
#8C5769
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a508f;
/* rgb */ color: rgb(138, 80, 143);
/* oklch */ color: oklch(52.2% 0.116 324.2);
Tailwind
colors: {
  custom: {
    50: '#ad83b0',
    500: '#8a508f',
    950: '#000000',
  },
}
SCSS
$custom: #8a508f;
$custom-light: #ad83b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a508f",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 295.238,
    "s": 28.251,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.11647,
    "h": 324.2
  },
  "luminance": 0.13124
}

Semantic roles & 50–950 ramp

primary
#8A508F
secondary
#8DB18A
accent
#C5636B
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A508F

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

Preview Lab → · Contrast checker → · Palette generator →

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