Skip to content

#d25df8

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

RGB
210, 93, 248
HSL
285°, 92%, 67%
CMYK
15, 63, 0, 3
Luminance
0.2831

Every format

HEX#d25df8
RGBrgb(210, 93, 248)
HSLhsl(285, 92%, 67%)
CMYKcmyk(15%, 63%, 0%, 3%)
LABlab(60.2 68.3 -57.6)
LCHlch(60.2 89.3 319.9)
OKLCHoklch(0.686 0.236 316.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green36.5%
Blue97.3%

CMYK percentages

Cyan15.3%
Magenta62.5%
Yellow0.0%
Key (black)2.7%

Color previews

#d25df8 text on a black background

contrast 6.66:1

Card sample

#d25df8 text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d25df8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d25df8 in the Color Lab