Skip to content

#681afd

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

RGB
104, 26, 253
HSL
261°, 98%, 55%
CMYK
59, 90, 0, 1
Luminance
0.1077

Every format

HEX#681afd
RGBrgb(104, 26, 253)
HSLhsl(261, 98%, 55%)
CMYKcmyk(59%, 90%, 0%, 1%)
LABlab(39.2 77.3 -95.1)
LCHlch(39.2 122.5 309.1)
OKLCHoklch(0.512 0.285 285.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#681afd on white: 6.66:1
AA ✓ pass · AA-large · AAA
Aa
#681afd on black: 3.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red40.8%
Green10.2%
Blue99.2%

CMYK percentages

Cyan58.9%
Magenta89.7%
Yellow0.0%
Key (black)0.8%

Color previews

#681afd text on a black background

contrast 3.15:1

Card sample

#681afd text on a white background

contrast 6.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #681afd;
Background color
Panel with #681afd background
background-color: #681afd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #681afd;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #681afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #681afd in the Color Lab