Skip to content

#6547ff

a balanced, electric blue · warm · closest name: blue

RGB
101, 71, 255
HSL
250°, 100%, 64%
CMYK
60, 72, 0, 0
Luminance
0.1449

Every format

HEX#6547ff
RGBrgb(101, 71, 255)
HSLhsl(250, 100%, 64%)
CMYKcmyk(60%, 72%, 0%, 0%)
LABlab(44.9 60.5 -86.8)
LCHlch(44.9 105.8 304.9)
OKLCHoklch(0.552 0.255 281.5)

Copy-ready code

/* CSS */
color: #6547ff;
background-color: #6547ff;
/* Tailwind (arbitrary) */
class="text-[#6547ff] bg-[#6547ff]"
/* SCSS */
$brand: #6547ff;
/* SwiftUI */
Color(red: 0.396, green: 0.278, blue: 1.000)
/* Android */
Color.parseColor("#6547ff")

Accessibility — WCAG contrast

Aa
#6547ff on white: 5.39:1
AA ✓ pass · AA-large · AAA
Aa
#6547ff on black: 3.90:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red39.6%
Green27.8%
Blue100.0%

CMYK percentages

Cyan60.4%
Magenta72.2%
Yellow0.0%
Key (black)0.0%

Color previews

#6547ff text on a black background

contrast 3.90:1

Card sample

#6547ff text on a white background

contrast 5.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6547ff;
Background color
Panel with #6547ff background
background-color: #6547ff;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6547ff;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(101, 71, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(101, 71, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6547ff;
background: linear-gradient(135deg, #6547ff, #E047FF);

Monochromatic scale

Palettes built from #6547ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6547ff in the Color Lab