#8D4E89#8D4E89

#8D4E89 is a mid, moderate purple. Relative luminance 0.129; OKLCH L 52.0% C 0.116 H 329.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8D4E89
RGBrgb(141, 78, 137)
HSLhsl(304, 29%, 43%)
HSVhsv(304, 45%, 55%)
CMYKcmyk(0%, 44.7%, 2.8%, 44.7%)
CIE-LABlab(42.64, 35.56, -21.68)
CIE-LCHlch(42.64, 41.65, 328.63°)
OKLaboklab(52% 0.0999 -0.059)
OKLCHoklch(52% 0.116 329.4)
XYZxyz(18.2240, 12.9186, 25.1957)
Luminance0.1292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E89 #4E8D52
analogous
#724E8D #8D4E89 #8D4E69
triadic
#8D4E89 #898D4E #4E898D
tetradic
#8D4E89 #8D724E #4E8D52 #4E698D
square
#8D4E89 #8D724E #4E8D52 #4E698D
split-complementary
#8D4E89 #698D4E #4E8D72
monochromatic
#3E223C #663863 #8D4E89 #AD6BA9 #C392C0

Accessibility & contrast

On white

5.86
#8D4E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8D4E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4E89
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4E89#FFFFFF#000000##FFFFFF
##8D4E891.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5F8B
Deuteranopia (green-blind)
#5C6887
Tritanopia (blue-blind)
#915365
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d4e89;
/* rgb */ color: rgb(141, 78, 137);
/* oklch */ color: oklch(52.0% 0.116 329.4);
Tailwind
colors: {
  custom: {
    50: '#b081ab',
    500: '#8d4e89',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e89;
$custom-light: #b081ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e89",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 303.81,
    "s": 28.767,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.11607,
    "h": 329.4
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#8D4E89
secondary
#87AF8A
accent
#C56963
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #8D4E89

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

Preview Lab → · Contrast checker → · Palette generator →

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