#8D508E#8D508E

#8D508E is a mid, moderate purple. Relative luminance 0.134; OKLCH L 52.6% C 0.117 H 326.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8D508E
RGBrgb(141, 80, 142)
HSLhsl(299, 28%, 44%)
HSVhsv(299, 44%, 56%)
CMYKcmyk(0.7%, 43.7%, 0%, 44.3%)
CIE-LABlab(43.29, 35.42, -23.70)
CIE-LCHlch(43.29, 42.62, 326.22°)
OKLaboklab(52.56% 0.0979 -0.0648)
OKLCHoklch(52.56% 0.117 326.5)
XYZxyz(18.7353, 13.3539, 27.1766)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D508E #518E50
analogous
#6E508E #8D508E #8E5070
triadic
#8D508E #8E8D50 #508E8D
tetradic
#8D508E #8E6E50 #518E50 #50708E
square
#8D508E #8E6E50 #518E50 #50708E
split-complementary
#8D508E #708E50 #508E6E
monochromatic
#3F2440 #663A67 #8D508E #AC6EAD #C395C3

Accessibility & contrast

On white

5.72
#8D508E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8D508E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D508E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D508E#FFFFFF#000000##FFFFFF
##8D508E1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6190
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#905668
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d508e;
/* rgb */ color: rgb(141, 80, 142);
/* oklch */ color: oklch(52.6% 0.117 326.5);
Tailwind
colors: {
  custom: {
    50: '#b083af',
    500: '#8d508e',
    950: '#000000',
  },
}
SCSS
$custom: #8d508e;
$custom-light: #b083af;
$custom-dark: #000000;
JSON
{
  "hex": "#8d508e",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 299.032,
    "s": 27.928,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52557,
    "c": 0.11742,
    "h": 326.5
  },
  "luminance": 0.13353
}

Semantic roles & 50–950 ramp

primary
#8D508E
secondary
#8AB08A
accent
#C46465
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #8D508E

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

Preview Lab → · Contrast checker → · Palette generator →

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