Skip to content

#d068eb

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

RGB
208, 104, 235
HSL
288°, 77%, 67%
CMYK
12, 56, 0, 8
Luminance
0.2931

Every format

HEX#d068eb
RGBrgb(208, 104, 235)
HSLhsl(288, 77%, 67%)
CMYKcmyk(12%, 56%, 0%, 8%)
LABlab(61.0 60.3 -49.0)
LCHlch(61.0 77.7 320.9)
OKLCHoklch(0.690 0.208 319.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d068eb on white: 3.06:1
AA ✗ fail · AA-large · AAA
Aa
#d068eb on black: 6.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green40.8%
Blue92.2%

CMYK percentages

Cyan11.5%
Magenta55.7%
Yellow0.0%
Key (black)7.8%

Color previews

#d068eb text on a black background

contrast 6.86:1

Card sample

#d068eb text on a white background

contrast 3.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d068eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d068eb in the Color Lab