Skip to content

#cdafef

a light, vivid violet · warm · closest name: plum

RGB
205, 175, 239
HSL
268°, 67%, 81%
CMYK
14, 27, 0, 6
Luminance
0.4987

Every format

HEX#cdafef
RGBrgb(205, 175, 239)
HSLhsl(268, 67%, 81%)
CMYKcmyk(14%, 27%, 0%, 6%)
LABlab(76.0 22.9 -27.9)
LCHlch(76.0 36.1 309.3)
OKLCHoklch(0.802 0.094 305.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdafef on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#cdafef on black: 10.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green68.6%
Blue93.7%

CMYK percentages

Cyan14.2%
Magenta26.8%
Yellow0.0%
Key (black)6.3%

Color previews

#cdafef text on a black background

contrast 10.97:1

Card sample

#cdafef text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdafef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdafef in the Color Lab