Skip to content

#d25df6

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

RGB
210, 93, 246
HSL
286°, 90%, 67%
CMYK
15, 62, 0, 4
Luminance
0.2818

Every format

HEX#d25df6
RGBrgb(210, 93, 246)
HSLhsl(286, 90%, 67%)
CMYKcmyk(15%, 62%, 0%, 4%)
LABlab(60.1 67.9 -56.6)
LCHlch(60.1 88.4 320.2)
OKLCHoklch(0.685 0.234 317.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan14.6%
Magenta62.2%
Yellow0.0%
Key (black)3.5%

Color previews

#d25df6 text on a black background

contrast 6.64:1

Card sample

#d25df6 text on a white background

contrast 3.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d25df6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d25df6 in the Color Lab