Skip to content

#d43dfb

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

RGB
212, 61, 251
HSL
288°, 96%, 61%
CMYK
16, 76, 0, 2
Luminance
0.2430

Every format

HEX#d43dfb
RGBrgb(212, 61, 251)
HSLhsl(288, 96%, 61%)
CMYKcmyk(16%, 76%, 0%, 2%)
LABlab(56.4 81.2 -65.3)
LCHlch(56.4 104.2 321.2)
OKLCHoklch(0.660 0.276 318.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d43dfb on white: 3.58:1
AA ✗ fail · AA-large · AAA
Aa
#d43dfb on black: 5.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green23.9%
Blue98.4%

CMYK percentages

Cyan15.5%
Magenta75.7%
Yellow0.0%
Key (black)1.6%

Color previews

#d43dfb text on a black background

contrast 5.86:1

Card sample

#d43dfb text on a white background

contrast 3.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d43dfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d43dfb in the Color Lab