Skip to content

#f5ddfd

a pale, electric violet · cool · closest name: Thistle

RGB
245, 221, 253
HSL
285°, 89%, 93%
CMYK
3, 13, 0, 1
Luminance
0.7822

At a glance

Every number on this page in one read: what #f5ddfd is made of, how bright it looks, and which way it leans.

Hex
#f5ddfd
Hue
285°
violet
Saturation
89%
electric
Lightness
93%
pale
Brightness
99%
HSV value
Perceived
91%
weighted brightness
Luminance
0.7822
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
16.64:1
Closest name
Thistle
ΔE2000 7.4
Where it sits
Hue285° of 360°
Saturation89%
Lightness93%
Temperature
Warm ← → Cool58% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#f5ddfd
RGBrgb(245, 221, 253)
HSLhsl(285, 89%, 93%)
CMYKcmyk(3%, 13%, 0%, 1%)
LABlab(90.9 13.8 -12.5)
LCHlch(90.9 18.6 317.8)
OKLCHoklch(0.927 0.050 317.7)
Decimal16113149
Display P3color(display-p3 0.961 0.867 0.992)

Copy-ready code

/* CSS */
color: #f5ddfd;
background-color: #f5ddfd;
/* Tailwind (arbitrary) */
class="text-[#f5ddfd] bg-[#f5ddfd]"
/* SCSS */
$brand: #f5ddfd;
/* SwiftUI */
Color(red: 0.961, green: 0.867, blue: 0.992)
/* Android */
Color.parseColor("#f5ddfd")
/* Flutter */
Color(0xFFF5DDFD)
/* Python / OpenCV (BGR) */
(253, 221, 245)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #f5ddfd · 16.64:1
Use #000000AAA at every size.
Aa
White text · 1.26:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.64:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f5ddfd as text scores 1.26:1 on white and 16.64:1 on black.

Accessibility — WCAG contrast

Aa
#f5ddfd on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#f5ddfd on black: 16.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAE3FE
deuteranopia · #DEE6FC
tritanopia · #F5E0E7

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f5ddfd is pinned to step 100; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF2FD
#f5ddfd
#EBC4F8
#E095F9
#D060F6
#C12BF3
#B10EE7
#930BC1
#76099A
#560B6F
#360746
Base = 100Lightest = 50 · #FAF2FDDarkest = 950 · #360746
:root {
  --brand-50: #FAF2FD;
  --brand-100: #f5ddfd;
  --brand-200: #EBC4F8;
  --brand-300: #E095F9;
  --brand-400: #D060F6;
  --brand-500: #C12BF3;
  --brand-600: #B10EE7;
  --brand-700: #930BC1;
  --brand-800: #76099A;
  --brand-900: #560B6F;
  --brand-950: #360746;
  --brand: #f5ddfd;
  --brand-ink: #000000;
}

Colors that work with #f5ddfd

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9F4FA
Tinted page background
Border#E1C0ED
Hairlines and dividers
Muted text#874B9B
Captions on the surface
Accent#66C606
Second voice, not a rival
Dark variant#5C0778
Hover, pressed, headers
Light variant#F8E7FE
Selected rows, tints
Dark surface#201424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #f5ddfd

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#E5FDDD
Analogous left#E5DDFD
Analogous right#FDDDF5
Split-complement 1#F5FDDD
Split-complement 2#DDFDE5
Triadic 1#FDF5DD
Triadic 2#DDFDF5
Tetradic#FDE5DD

RGB percentages

Red96.1%
Green86.7%
Blue99.2%

CMYK percentages

Cyan3.2%
Magenta12.6%
Yellow0.0%
Key (black)0.8%

Color previews

#f5ddfd text on a black background

contrast 16.64:1

Card sample

#f5ddfd text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5ddfd

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#f5ddfd in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#f5ddfd, answered

What color is #f5ddfd?

#f5ddfd is a pale electric violet, closest to Thistle (ΔE2000 7.4). It sits at 285° on the hue wheel with 89% saturation and 93% lightness, which reads as cool.

What is the RGB value of #f5ddfd?

rgb(245, 221, 253) — 245 red, 221 green and 253 blue out of 255, or 96.1% / 86.7% / 99.2% by channel.

Is #f5ddfd a light or a dark color?

It is a light color. Relative luminance is 0.7822 and perceived brightness is 91%, so black text on it reaches 16.64:1.

Should I use black or white text on #f5ddfd?

Black. It scores 16.64:1 against #f5ddfd, versus 1.26:1 for white — AAA at any size.

What is the complementary color of #f5ddfd?

#E5FDDD sits directly opposite on the wheel. Softer options are the split-complements #F5FDDD and #DDFDE5, which give the same contrast with far less vibration.

What colors go well with #f5ddfd?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #874B9B for secondary text, #66C606 as an accent and #5C0778 for hover and pressed states. For a palette, the analogous pair #E5DDFD and #FDDDF5 stays calm, while #E5FDDD is the loudest partner.

What is #f5ddfd in CMYK for printing?

cmyk(3%, 13%, 0%, 1%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #f5ddfd warm or cool?

Cool — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FDDDF9; nudged cooler, #E9DCFD.

Work with #f5ddfd in the Color Lab