#hexpedia

Closest to Medium Purple

#8D5EB7

Color conversions

Reference values for common CSS, design, and accessibility formats.

FormatValueCopy
HEX8D5EB7
HEX with ##8D5EB7
RGBrgb(141, 94, 183)
RGBArgba(141, 94, 183, 1)
HSLhsl(271.69 38.2% 54.31%)
HSLAhsla(271.69, 38.2%, 54.31%, 1)
HSVhsv(271.69, 48.63%, 71.76%)
CMYKcmyk(22.95%, 48.63%, 0%, 28.24%)
OKLCHoklch(57% 0.1399 306.88)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

4.75:1

AA normal

Black text

4.42:1

AA large

Reference notes

#8D5EB7 is a balanced, soft violet color closest to Medium Purple. The color has RGB channels of 141, 94, and 183; in HSL terms, it is centered near 272 degrees with 38% saturation and 54% lightness. In a design system, this cool reading is a useful shortcut for deciding whether the color should act as a primary accent, a supporting surface, or a quiet divider. The safest usage pattern is to test it against both light and dark surfaces, then reserve the weaker text pairing for decoration rather than essential labels. If the color feels too forceful at full strength, the lighter, darker, and desaturated variants usually provide a calmer path for production UI. For editorial or product interfaces, reserve the most saturated use for accents and repeat softer variants in borders, labels, or background fills. This makes it useful for backgrounds, supporting UI surfaces, editorial layouts, and restrained visual systems. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.