Skip to content

#d35cff

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

RGB
211, 92, 255
HSL
284°, 100%, 68%
CMYK
17, 64, 0, 0
Luminance
0.2872

Every format

HEX#d35cff
RGBrgb(211, 92, 255)
HSLhsl(284, 100%, 68%)
CMYKcmyk(17%, 64%, 0%, 0%)
LABlab(60.5 70.3 -60.9)
LCHlch(60.5 93.0 319.1)
OKLCHoklch(0.690 0.244 315.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d35cff on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#d35cff on black: 6.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.7%
Green36.1%
Blue100.0%

CMYK percentages

Cyan17.3%
Magenta63.9%
Yellow0.0%
Key (black)0.0%

Color previews

#d35cff text on a black background

contrast 6.74:1

Card sample

#d35cff text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d35cff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d35cff in the Color Lab