Skip to content

#ded2f3

a pale, vivid violet · warm · closest name: lavender

RGB
222, 210, 243
HSL
262°, 58%, 89%
CMYK
9, 14, 0, 5
Luminance
0.6809

Every format

HEX#ded2f3
RGBrgb(222, 210, 243)
HSLhsl(262, 58%, 89%)
CMYKcmyk(9%, 14%, 0%, 5%)
LABlab(86.0 10.2 -14.7)
LCHlch(86.0 17.9 304.9)
OKLCHoklch(0.884 0.047 302.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ded2f3 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#ded2f3 on black: 14.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green82.4%
Blue95.3%

CMYK percentages

Cyan8.6%
Magenta13.6%
Yellow0.0%
Key (black)4.7%

Color previews

#ded2f3 text on a black background

contrast 14.62:1

Card sample

#ded2f3 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 210, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 210, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ded2f3;
background: linear-gradient(135deg, #ded2f3, #F3D2F2);

Monochromatic scale

Palettes built from #ded2f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ded2f3 in the Color Lab