Skip to content

#ce7df0

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

RGB
206, 125, 240
HSL
282°, 79%, 72%
CMYK
14, 48, 0, 6
Luminance
0.3408

Every format

HEX#ce7df0
RGBrgb(206, 125, 240)
HSLhsl(282, 79%, 72%)
CMYKcmyk(14%, 48%, 0%, 6%)
LABlab(65.0 50.3 -45.5)
LCHlch(65.0 67.8 317.9)
OKLCHoklch(0.719 0.179 315.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ce7df0 on white: 2.69:1
AA ✗ fail · AA-large · AAA
Aa
#ce7df0 on black: 7.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green49.0%
Blue94.1%

CMYK percentages

Cyan14.2%
Magenta47.9%
Yellow0.0%
Key (black)5.9%

Color previews

#ce7df0 text on a black background

contrast 7.82:1

Card sample

#ce7df0 text on a white background

contrast 2.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ce7df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ce7df0 in the Color Lab