Skip to content

#d25df7

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

RGB
210, 93, 247
HSL
286°, 91%, 67%
CMYK
15, 62, 0, 3
Luminance
0.2825

Every format

HEX#d25df7
RGBrgb(210, 93, 247)
HSLhsl(286, 91%, 67%)
CMYKcmyk(15%, 62%, 0%, 3%)
LABlab(60.1 68.1 -57.1)
LCHlch(60.1 88.9 320.0)
OKLCHoklch(0.685 0.235 317.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d25df7 on white: 3.16:1
AA ✗ fail · AA-large · AAA
Aa
#d25df7 on black: 6.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green36.5%
Blue96.9%

CMYK percentages

Cyan15.0%
Magenta62.3%
Yellow0.0%
Key (black)3.1%

Color previews

#d25df7 text on a black background

contrast 6.65:1

Card sample

#d25df7 text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d25df7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d25df7 in the Color Lab