Skip to content

#d745ff

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

RGB
215, 69, 255
HSL
287°, 100%, 64%
CMYK
16, 73, 0, 0
Luminance
0.2592

Every format

HEX#d745ff
RGBrgb(215, 69, 255)
HSLhsl(287, 100%, 64%)
CMYKcmyk(16%, 73%, 0%, 0%)
LABlab(58.0 79.9 -65.0)
LCHlch(58.0 103.0 320.9)
OKLCHoklch(0.673 0.272 317.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d745ff on white: 3.40:1
AA ✗ fail · AA-large · AAA
Aa
#d745ff on black: 6.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green27.1%
Blue100.0%

CMYK percentages

Cyan15.7%
Magenta72.9%
Yellow0.0%
Key (black)0.0%

Color previews

#d745ff text on a black background

contrast 6.18:1

Card sample

#d745ff text on a white background

contrast 3.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d745ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d745ff in the Color Lab