#8D4E97#8D4E97

#8D4E97 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 52.7% C 0.130 H 322.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8D4E97
RGBrgb(141, 78, 151)
HSLhsl(292, 32%, 45%)
HSVhsv(292, 48%, 59%)
CMYKcmyk(6.6%, 48.3%, 0%, 40.8%)
CIE-LABlab(43.28, 38.33, -29.13)
CIE-LCHlch(43.28, 48.14, 322.77°)
OKLaboklab(52.69% 0.1027 -0.0803)
OKLCHoklch(52.69% 0.13 322)
XYZxyz(19.2942, 13.3467, 30.8320)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4E97 #58974E
analogous
#694E97 #8D4E97 #974E7C
triadic
#8D4E97 #978D4E #4E978D
tetradic
#8D4E97 #97694E #58974E #4E7C97
square
#8D4E97 #97694E #58974E #4E7C97
split-complementary
#8D4E97 #7C974E #4E9769
monochromatic
#422446 #67396F #8D4E97 #AB6EB4 #C296C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D4E97#FFFFFF#000000##FFFFFF
##8D4E971.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)
#44629A
Deuteranopia (green-blind)
#566995
Tritanopia (blue-blind)
#8F576B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d4e97;
/* rgb */ color: rgb(141, 78, 151);
/* oklch */ color: oklch(52.7% 0.130 322.0);
Tailwind
colors: {
  custom: {
    50: '#b082b6',
    500: '#8d4e97',
    950: '#000000',
  },
}
SCSS
$custom: #8d4e97;
$custom-light: #b082b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4e97",
  "rgb": {
    "r": 141,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 291.781,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.13038,
    "h": 322
  },
  "luminance": 0.13346
}

Semantic roles & 50–950 ramp

primary
#8D4E97
secondary
#91B68B
accent
#C8606E
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110A11
muted
#807C80

Preview Lab

Preview with #8D4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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