Skip to content

#d092f4

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

RGB
208, 146, 244
HSL
278°, 82%, 77%
CMYK
15, 40, 0, 4
Luminance
0.4050

Every format

HEX#d092f4
RGBrgb(208, 146, 244)
HSLhsl(278, 82%, 77%)
CMYKcmyk(15%, 40%, 0%, 4%)
LABlab(69.8 40.6 -40.1)
LCHlch(69.8 57.1 315.3)
OKLCHoklch(0.756 0.150 312.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d092f4 on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#d092f4 on black: 9.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.6%
Green57.3%
Blue95.7%

CMYK percentages

Cyan14.8%
Magenta40.2%
Yellow0.0%
Key (black)4.3%

Color previews

#d092f4 text on a black background

contrast 9.10:1

Card sample

#d092f4 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d092f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d092f4 in the Color Lab