Skip to content

#d103ff

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

RGB
209, 3, 255
HSL
289°, 100%, 51%
CMYK
18, 99, 0, 0
Luminance
0.2084

Every format

HEX#d103ff
RGBrgb(209, 3, 255)
HSLhsl(289, 100%, 51%)
CMYKcmyk(18%, 99%, 0%, 0%)
LABlab(52.8 91.4 -73.4)
LCHlch(52.8 117.2 321.3)
OKLCHoklch(0.635 0.307 317.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d103ff on white: 4.06:1
AA ✗ fail · AA-large · AAA
Aa
#d103ff on black: 5.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.0%
Green1.2%
Blue100.0%

CMYK percentages

Cyan18.0%
Magenta98.8%
Yellow0.0%
Key (black)0.0%

Color previews

#d103ff text on a black background

contrast 5.17:1

Card sample

#d103ff text on a white background

contrast 4.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d103ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d103ff in the Color Lab