Skip to content

#d26df8

a light, electric violet · warm · closest name: violet

RGB
210, 109, 248
HSL
284°, 91%, 70%
CMYK
15, 56, 0, 3
Luminance
0.3142

Every format

HEX#d26df8
RGBrgb(210, 109, 248)
HSLhsl(284, 91%, 70%)
CMYKcmyk(15%, 56%, 0%, 3%)
LABlab(62.9 61.0 -53.3)
LCHlch(62.9 81.0 318.8)
OKLCHoklch(0.706 0.214 315.9)

Copy-ready code

/* CSS */
color: #d26df8;
background-color: #d26df8;
/* Tailwind (arbitrary) */
class="text-[#d26df8] bg-[#d26df8]"
/* SCSS */
$brand: #d26df8;
/* SwiftUI */
Color(red: 0.824, green: 0.427, blue: 0.973)
/* Android */
Color.parseColor("#d26df8")

Accessibility — WCAG contrast

Aa
#d26df8 on white: 2.88:1
AA ✗ fail · AA-large · AAA
Aa
#d26df8 on black: 7.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green42.7%
Blue97.3%

CMYK percentages

Cyan15.3%
Magenta56.0%
Yellow0.0%
Key (black)2.7%

Color previews

#d26df8 text on a black background

contrast 7.28:1

Card sample

#d26df8 text on a white background

contrast 2.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 109, 248, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 109, 248, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d26df8;
background: linear-gradient(135deg, #d26df8, #F86DC1);

Monochromatic scale

Palettes built from #d26df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d26df8 in the Color Lab