#8A508E#8A508E

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

Color values

HEX#8A508E
RGBrgb(138, 80, 142)
HSLhsl(296, 28%, 44%)
HSVhsv(296, 44%, 56%)
CMYKcmyk(2.8%, 43.7%, 0%, 44.3%)
CIE-LABlab(42.91, 34.46, -24.33)
CIE-LCHlch(42.91, 42.18, 324.78°)
OKLaboklab(52.19% 0.0942 -0.0666)
OKLCHoklch(52.19% 0.115 324.7)
XYZxyz(18.2319, 13.0944, 27.1530)
Luminance0.1309 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A508E #548E50
analogous
#6B508E #8A508E #8E5073
triadic
#8A508E #8E8A50 #508E8A
tetradic
#8A508E #8E6B50 #548E50 #50738E
square
#8A508E #8E6B50 #548E50 #50738E
split-complementary
#8A508E #738E50 #508E6B
monochromatic
#3E2440 #643A67 #8A508E #A96EAD #C095C3

Accessibility & contrast

On white

5.80
#8A508E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A508E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A508E#FFFFFF#000000##FFFFFF
##8A508E1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#59688C
Tritanopia (blue-blind)
#8D5768
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8a508e;
/* rgb */ color: rgb(138, 80, 142);
/* oklch */ color: oklch(52.2% 0.115 324.7);
Tailwind
colors: {
  custom: {
    50: '#ad83af',
    500: '#8a508e',
    950: '#000000',
  },
}
SCSS
$custom: #8a508e;
$custom-light: #ad83af;
$custom-dark: #000000;
JSON
{
  "hex": "#8a508e",
  "rgb": {
    "r": 138,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 296.129,
    "s": 27.928,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.11542,
    "h": 324.7
  },
  "luminance": 0.13094
}

Semantic roles & 50–950 ramp

primary
#8A508E
secondary
#8CB08A
accent
#C4646A
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#100B10
muted
#7F7C7F

Preview Lab

Preview with #8A508E

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

Preview Lab → · Contrast checker → · Palette generator →

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