Skip to content

#d68dfd

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

RGB
214, 141, 253
HSL
279°, 97%, 77%
CMYK
15, 44, 0, 1
Luminance
0.4044

Every format

HEX#d68dfd
RGBrgb(214, 141, 253)
HSLhsl(279, 97%, 77%)
CMYKcmyk(15%, 44%, 0%, 1%)
LABlab(69.8 46.9 -45.1)
LCHlch(69.8 65.0 316.1)
OKLCHoklch(0.759 0.171 312.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d68dfd on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#d68dfd on black: 9.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.9%
Green55.3%
Blue99.2%

CMYK percentages

Cyan15.4%
Magenta44.3%
Yellow0.0%
Key (black)0.8%

Color previews

#d68dfd text on a black background

contrast 9.09:1

Card sample

#d68dfd text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(214, 141, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(214, 141, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d68dfd;
background: linear-gradient(135deg, #d68dfd, #FD8DD9);

Monochromatic scale

Palettes built from #d68dfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d68dfd in the Color Lab