Skip to content

#d930ff

a balanced, electric violet · warm · closest name: magenta

RGB
217, 48, 255
HSL
289°, 100%, 59%
CMYK
15, 81, 0, 0
Luminance
0.2409

Every format

HEX#d930ff
RGBrgb(217, 48, 255)
HSLhsl(289, 100%, 59%)
CMYKcmyk(15%, 81%, 0%, 0%)
LABlab(56.2 86.3 -67.8)
LCHlch(56.2 109.8 321.8)
OKLCHoklch(0.661 0.291 319.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d930ff on white: 3.61:1
AA ✗ fail · AA-large · AAA
Aa
#d930ff on black: 5.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.1%
Green18.8%
Blue100.0%

CMYK percentages

Cyan14.9%
Magenta81.2%
Yellow0.0%
Key (black)0.0%

Color previews

#d930ff text on a black background

contrast 5.82:1

Card sample

#d930ff text on a white background

contrast 3.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(217, 48, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(217, 48, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d930ff;
background: linear-gradient(135deg, #d930ff, #FF309B);

Monochromatic scale

Palettes built from #d930ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d930ff in the Color Lab