Skip to content

#d490fd

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

RGB
212, 144, 253
HSL
277°, 97%, 78%
CMYK
16, 43, 0, 1
Luminance
0.4104

Every format

HEX#d490fd
RGBrgb(212, 144, 253)
HSLhsl(277, 97%, 78%)
CMYKcmyk(16%, 43%, 0%, 1%)
LABlab(70.2 44.7 -44.4)
LCHlch(70.2 63.0 315.2)
OKLCHoklch(0.761 0.165 311.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d490fd on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#d490fd on black: 9.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green56.5%
Blue99.2%

CMYK percentages

Cyan16.2%
Magenta43.1%
Yellow0.0%
Key (black)0.8%

Color previews

#d490fd text on a black background

contrast 9.21:1

Card sample

#d490fd text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d490fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d490fd in the Color Lab