Skip to content

#ce92f4

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

RGB
206, 146, 244
HSL
277°, 82%, 77%
CMYK
16, 40, 0, 4
Luminance
0.4021

Every format

HEX#ce92f4
RGBrgb(206, 146, 244)
HSLhsl(277, 82%, 77%)
CMYKcmyk(16%, 40%, 0%, 4%)
LABlab(69.6 40.0 -40.5)
LCHlch(69.6 56.9 314.7)
OKLCHoklch(0.754 0.149 311.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce92f4 on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#ce92f4 on black: 9.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green57.3%
Blue95.7%

CMYK percentages

Cyan15.6%
Magenta40.2%
Yellow0.0%
Key (black)4.3%

Color previews

#ce92f4 text on a black background

contrast 9.04:1

Card sample

#ce92f4 text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce92f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce92f4 in the Color Lab