Skip to content

#680cfd

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

RGB
104, 12, 253
HSL
263°, 98%, 52%
CMYK
59, 95, 0, 1
Luminance
0.1030

Every format

HEX#680cfd
RGBrgb(104, 12, 253)
HSLhsl(263, 98%, 52%)
CMYKcmyk(59%, 95%, 0%, 1%)
LABlab(38.4 79.8 -96.5)
LCHlch(38.4 125.2 309.6)
OKLCHoklch(0.507 0.289 286.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#680cfd on white: 6.86:1
AA ✓ pass · AA-large · AAA
Aa
#680cfd on black: 3.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red40.8%
Green4.7%
Blue99.2%

CMYK percentages

Cyan58.9%
Magenta95.3%
Yellow0.0%
Key (black)0.8%

Color previews

#680cfd text on a black background

contrast 3.06:1

Card sample

#680cfd text on a white background

contrast 6.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #680cfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #680cfd in the Color Lab