Skip to content

#d07ef1

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

RGB
208, 126, 241
HSL
283°, 80%, 72%
CMYK
14, 48, 0, 6
Luminance
0.3468

Every format

HEX#d07ef1
RGBrgb(208, 126, 241)
HSLhsl(283, 80%, 72%)
CMYKcmyk(14%, 48%, 0%, 6%)
LABlab(65.5 50.6 -45.3)
LCHlch(65.5 67.9 318.2)
OKLCHoklch(0.724 0.180 315.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d07ef1 on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#d07ef1 on black: 7.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green49.4%
Blue94.5%

CMYK percentages

Cyan13.7%
Magenta47.7%
Yellow0.0%
Key (black)5.5%

Color previews

#d07ef1 text on a black background

contrast 7.94:1

Card sample

#d07ef1 text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(208, 126, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(208, 126, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d07ef1;
background: linear-gradient(135deg, #d07ef1, #F17EC5);

Monochromatic scale

Palettes built from #d07ef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d07ef1 in the Color Lab