Skip to content

#d746ff

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

RGB
215, 70, 255
HSL
287°, 100%, 64%
CMYK
16, 73, 0, 0
Luminance
0.2605

Every format

HEX#d746ff
RGBrgb(215, 70, 255)
HSLhsl(287, 100%, 64%)
CMYKcmyk(16%, 73%, 0%, 0%)
LABlab(58.1 79.6 -64.8)
LCHlch(58.1 102.6 320.9)
OKLCHoklch(0.674 0.271 317.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d746ff on white: 3.38:1
AA ✗ fail · AA-large · AAA
Aa
#d746ff on black: 6.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green27.5%
Blue100.0%

CMYK percentages

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

Color previews

#d746ff text on a black background

contrast 6.21:1

Card sample

#d746ff text on a white background

contrast 3.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d746ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d746ff in the Color Lab