#8D4E85#8D4E85

#8D4E85 is a mid, moderate purple. Relative luminance 0.128; OKLCH L 51.8% C 0.112 H 331.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8D4E85
RGBrgb(141, 78, 133)
HSLhsl(308, 29%, 43%)
HSVhsv(308, 45%, 55%)
CMYKcmyk(0%, 44.7%, 5.7%, 44.7%)
CIE-LABlab(42.47, 34.80, -19.52)
CIE-LCHlch(42.47, 39.90, 330.71°)
OKLaboklab(51.81% 0.099 -0.0529)
OKLCHoklch(51.81% 0.112 331.9)
XYZxyz(17.9424, 12.8059, 23.7125)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E85 #4E8D56
analogous
#754E8D #8D4E85 #8D4E65
triadic
#8D4E85 #858D4E #4E858D
tetradic
#8D4E85 #8D754E #4E8D56 #4E658D
square
#8D4E85 #8D754E #4E8D56 #4E658D
split-complementary
#8D4E85 #658D4E #4E8D75
monochromatic
#3E223B #663860 #8D4E85 #AD6BA5 #C392BD

Accessibility & contrast

On white

5.90
#8D4E85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8D4E85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E85
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E85#FFFFFF#000000##FFFFFF
##8D4E851.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5F87
Deuteranopia (green-blind)
#5D6783
Tritanopia (blue-blind)
#925263
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d4e85;
/* rgb */ color: rgb(141, 78, 133);
/* oklch */ color: oklch(51.8% 0.112 331.9);
Tailwind
colors: {
  custom: {
    50: '#b081a8',
    500: '#8d4e85',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e85;
$custom-light: #b081a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e85",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 307.619,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.11224,
    "h": 331.9
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#8D4E85
secondary
#87AF8C
accent
#C56F63
background
#FAF8FA
surface
#F5EFF4
border
#CFCACE
text
#110A0F
muted
#807C7F

Preview Lab

Preview with #8D4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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