Skip to content

#f5d2ff

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

RGB
245, 210, 255
HSL
287°, 100%, 91%
CMYK
4, 18, 0, 0
Luminance
0.7273

Every format

HEX#f5d2ff
RGBrgb(245, 210, 255)
HSLhsl(287, 100%, 91%)
CMYKcmyk(4%, 18%, 0%, 0%)
LABlab(88.3 20.0 -17.4)
LCHlch(88.3 26.5 318.9)
OKLCHoklch(0.907 0.071 318.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f5d2ff on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#f5d2ff on black: 15.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.1%
Green82.4%
Blue100.0%

CMYK percentages

Cyan3.9%
Magenta17.6%
Yellow0.0%
Key (black)0.0%

Color previews

#f5d2ff text on a black background

contrast 15.55:1

Card sample

#f5d2ff text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5d2ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f5d2ff in the Color Lab