#hexpedia

Medium Purple

#9370DB

Color conversions

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

FormatValueCopy
HEX9370DB
HEX with ##9370DB
RGBrgb(147, 112, 219)
RGBArgba(147, 112, 219, 1)
HSLhsl(259.63 59.78% 64.9%)
HSLAhsla(259.63, 59.78%, 64.9%, 1)
HSVhsv(259.63, 48.86%, 85.88%)
CMYKcmyk(32.88%, 48.86%, 0%, 14.12%)
OKLCHoklch(62.69% 0.158 296.67)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

3.76:1

AA large

Black text

5.58:1

AA normal

Reference notes

#9370DB is a bright, clear violet color closest to Medium Purple. The color has RGB channels of 147, 112, and 219; in HSL terms, it is centered near 260 degrees with 60% saturation and 65% 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.