#8D508D#8D508D

#8D508D is a mid, moderate purple. Relative luminance 0.133; OKLCH L 52.5% C 0.116 H 327.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8D508D
RGBrgb(141, 80, 141)
HSLhsl(300, 28%, 43%)
HSVhsv(300, 43%, 55%)
CMYKcmyk(0%, 43.3%, 0%, 44.7%)
CIE-LABlab(43.25, 35.22, -23.16)
CIE-LCHlch(43.25, 42.16, 326.67°)
OKLaboklab(52.51% 0.0977 -0.0633)
OKLCHoklch(52.51% 0.116 327.1)
XYZxyz(18.6605, 13.3240, 26.7830)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D508D #508D50
analogous
#6E508D #8D508D #8D506E
triadic
#8D508D #8D8D50 #508D8D
tetradic
#8D508D #8D6E50 #508D50 #506E8D
square
#8D508D #8D6E50 #508D50 #506E8D
split-complementary
#8D508D #6E8D50 #508D6E
monochromatic
#3F243F #663A66 #8D508D #AD6EAD #C395C3

Accessibility & contrast

On white

5.73
#8D508D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8D508D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D508D
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D508D#FFFFFF#000000##FFFFFF
##8D508D1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d508d;
/* rgb */ color: rgb(141, 80, 141);
/* oklch */ color: oklch(52.5% 0.116 327.1);
Tailwind
colors: {
  custom: {
    50: '#b083ae',
    500: '#8d508d',
    950: '#000000',
  },
}
SCSS
$custom: #8d508d;
$custom-light: #b083ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8d508d",
  "rgb": {
    "r": 141,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 300,
    "s": 27.602,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52509,
    "c": 0.11641,
    "h": 327.1
  },
  "luminance": 0.13323
}

Semantic roles & 50–950 ramp

primary
#8D508D
secondary
#89AF89
accent
#C46464
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #8D508D

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

Preview Lab → · Contrast checker → · Palette generator →

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