#hexpedia

Closest to Cornflower Blue

#8F8CE7

Color conversions

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

FormatValueCopy
HEX8F8CE7
HEX with ##8F8CE7
RGBrgb(143, 140, 231)
RGBArgba(143, 140, 231, 1)
HSLhsl(241.98 65.47% 72.75%)
HSLAhsla(241.98, 65.47%, 72.75%, 1)
HSVhsv(241.98, 39.39%, 90.59%)
CMYKcmyk(38.1%, 39.39%, 0%, 9.41%)
OKLCHoklch(68.09% 0.1324 283.8)

Closest named matches

Color modifications

Suggested pairings

Use this color in CSS

Accessibility quick-check

White text

2.97:1

Decorative only

Black text

7.07:1

AAA normal

Reference notes

As a reference color, #8F8CE7 reads as bright blue, with Cornflower Blue as its nearest named anchor. Because the hue is approximately 242 degrees, it belongs to the blue family rather than a neutral family, even when used in small interface details. When documenting the color, keep the hex value as the canonical reference and treat the cool family label as a practical visual description rather than a fixed rule. The contrast checks on this page show whether it is more reliable with black text or white text, which is usually the first practical decision before using the color in UI. The modification grid is useful for finding a border, hover, or background companion without changing the underlying hue family too aggressively. For data visualization, avoid relying on this color alone; combine it with spacing, labels, or pattern differences so meaning is not carried only by hue. Use it for backgrounds, supporting UI surfaces, editorial layouts, and restrained visual systems. Check contrast before placing body text on top of it, and pair it with nearby analogous colors when the design should stay calm.