Skip to content

#cd92f4

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

RGB
205, 146, 244
HSL
276°, 82%, 77%
CMYK
16, 40, 0, 4
Luminance
0.4007

Every format

HEX#cd92f4
RGBrgb(205, 146, 244)
HSLhsl(276, 82%, 77%)
CMYKcmyk(16%, 40%, 0%, 4%)
LABlab(69.5 39.8 -40.6)
LCHlch(69.5 56.9 314.4)
OKLCHoklch(0.753 0.149 310.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd92f4 on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#cd92f4 on black: 9.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green57.3%
Blue95.7%

CMYK percentages

Cyan16.0%
Magenta40.2%
Yellow0.0%
Key (black)4.3%

Color previews

#cd92f4 text on a black background

contrast 9.01:1

Card sample

#cd92f4 text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd92f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd92f4 in the Color Lab