Skip to content

#680ef1

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

RGB
104, 14, 241
HSL
264°, 89%, 50%
CMYK
57, 94, 0, 6
Luminance
0.0961

Every format

HEX#680ef1
RGBrgb(104, 14, 241)
HSLhsl(264, 89%, 50%)
CMYKcmyk(57%, 94%, 0%, 6%)
LABlab(37.1 76.8 -91.8)
LCHlch(37.1 119.7 309.9)
OKLCHoklch(0.494 0.278 287.9)

Copy-ready code

/* CSS */
color: #680ef1;
background-color: #680ef1;
/* Tailwind (arbitrary) */
class="text-[#680ef1] bg-[#680ef1]"
/* SCSS */
$brand: #680ef1;
/* SwiftUI */
Color(red: 0.408, green: 0.055, blue: 0.945)
/* Android */
Color.parseColor("#680ef1")

Accessibility — WCAG contrast

Aa
#680ef1 on white: 7.19:1
AA ✓ pass · AA-large · AAA
Aa
#680ef1 on black: 2.92:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red40.8%
Green5.5%
Blue94.5%

CMYK percentages

Cyan56.8%
Magenta94.2%
Yellow0.0%
Key (black)5.5%

Color previews

#680ef1 text on a black background

contrast 2.92:1

Card sample

#680ef1 text on a white background

contrast 7.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #680ef1;
Background color
Panel with #680ef1 background
background-color: #680ef1;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #680ef1;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(104, 14, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(104, 14, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #680ef1;
background: linear-gradient(135deg, #680ef1, #F10EE3);

Monochromatic scale

Palettes built from #680ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #680ef1 in the Color Lab