Skip to content

#df70ff

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

RGB
223, 112, 255
HSL
287°, 100%, 72%
CMYK
13, 56, 0, 0
Luminance
0.3450

Every format

HEX#df70ff
RGBrgb(223, 112, 255)
HSLhsl(287, 100%, 72%)
CMYKcmyk(13%, 56%, 0%, 0%)
LABlab(65.4 64.1 -53.1)
LCHlch(65.4 83.3 320.4)
OKLCHoklch(0.729 0.222 318.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#df70ff on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#df70ff on black: 7.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green43.9%
Blue100.0%

CMYK percentages

Cyan12.5%
Magenta56.1%
Yellow0.0%
Key (black)0.0%

Color previews

#df70ff text on a black background

contrast 7.90:1

Card sample

#df70ff text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #df70ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #df70ff in the Color Lab