#hexpedia

Closest to Blue Violet

#C040FF

Color conversions

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

FormatValueCopy
HEXC040FF
HEX with ##C040FF
RGBrgb(192, 64, 255)
RGBArgba(192, 64, 255, 1)
HSLhsl(280.21 100% 62.55%)
HSLAhsla(280.21, 100%, 62.55%, 1)
HSVhsv(280.21, 74.9%, 100%)
CMYKcmyk(24.71%, 74.9%, 0%, 0%)
OKLCHoklch(63.93% 0.2698 311.54)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

3.88:1

AA large

Black text

5.42:1

AA normal

Reference notes

#C040FF is a bright, saturated violet color closest to Blue Violet. The color has RGB channels of 192, 64, and 255; in HSL terms, it is centered near 280 degrees with 100% saturation and 63% 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 badges, highlights, product accents, and moments where quick recognition matters. In CSS systems, define it as a custom property first so variations, shadows, and gradients can stay consistent.