Skip to content

#f2d1fd

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

RGB
242, 209, 253
HSL
285°, 92%, 91%
CMYK
4, 17, 0, 1
Luminance
0.7157

At a glance

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

Hex
#f2d1fd
Hue
285°
violet
Saturation
92%
electric
Lightness
91%
pale
Brightness
99%
HSV value
Perceived
88%
weighted brightness
Luminance
0.7157
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
15.31:1
Closest name
Thistle
ΔE2000 7.4
Where it sits
Hue285° of 360°
Saturation92%
Lightness91%
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#f2d1fd
RGBrgb(242, 209, 253)
HSLhsl(285, 92%, 91%)
CMYKcmyk(4%, 17%, 0%, 1%)
LABlab(87.8 19.1 -17.2)
LCHlch(87.8 25.8 318.0)
OKLCHoklch(0.902 0.069 317.6)
Decimal15913469
Display P3color(display-p3 0.949 0.820 0.992)

Copy-ready code

/* CSS */
color: #f2d1fd;
background-color: #f2d1fd;
/* Tailwind (arbitrary) */
class="text-[#f2d1fd] bg-[#f2d1fd]"
/* SCSS */
$brand: #f2d1fd;
/* SwiftUI */
Color(red: 0.949, green: 0.820, blue: 0.992)
/* Android */
Color.parseColor("#f2d1fd")
/* Flutter */
Color(0xFFF2D1FD)
/* Python / OpenCV (BGR) */
(253, 209, 242)

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 #f2d1fd · 15.31:1
Use #000000AAA at every size.
Aa
White text · 1.37:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.31:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f2d1fd as text scores 1.37:1 on white and 15.31:1 on black.

Accessibility — WCAG contrast

Aa
#f2d1fd on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#f2d1fd on black: 15.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CCDAFF
deuteranopia · #D3DDFB
tritanopia · #F2D5E0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f2d1fd 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
#f2d1fd
#EBC3F9
#E193FA
#D15EF8
#C228F6
#B30AEB
#9508C4
#77079C
#570A71
#360647
Base = 100Lightest = 50 · #FAF2FDDarkest = 950 · #360647
:root {
  --brand-50: #FAF2FD;
  --brand-100: #f2d1fd;
  --brand-200: #EBC3F9;
  --brand-300: #E193FA;
  --brand-400: #D15EF8;
  --brand-500: #C228F6;
  --brand-600: #B30AEB;
  --brand-700: #9508C4;
  --brand-800: #77079C;
  --brand-900: #570A71;
  --brand-950: #360647;
  --brand: #f2d1fd;
  --brand-ink: #000000;
}

Colors that work with #f2d1fd

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#66C804
Second voice, not a rival
Dark variant#5D057A
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 #f2d1fd

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#DCFDD1
Analogous left#DCD1FD
Analogous right#FDD1F2
Split-complement 1#F2FDD1
Split-complement 2#D1FDDC
Triadic 1#FDF2D1
Triadic 2#D1FDF2
Tetradic#FDDCD1

RGB percentages

Red94.9%
Green82.0%
Blue99.2%

CMYK percentages

Cyan4.3%
Magenta17.4%
Yellow0.0%
Key (black)0.8%

Color previews

#f2d1fd text on a black background

contrast 15.31:1

Card sample

#f2d1fd text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d1fd

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.

#f2d1fd 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.

#f2d1fd, answered

What color is #f2d1fd?

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

What is the RGB value of #f2d1fd?

rgb(242, 209, 253) — 242 red, 209 green and 253 blue out of 255, or 94.9% / 82% / 99.2% by channel.

Is #f2d1fd a light or a dark color?

It is a light color. Relative luminance is 0.7157 and perceived brightness is 88%, so black text on it reaches 15.31:1.

Should I use black or white text on #f2d1fd?

Black. It scores 15.31:1 against #f2d1fd, versus 1.37:1 for white — AAA at any size.

What is the complementary color of #f2d1fd?

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

What colors go well with #f2d1fd?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #874B9B for secondary text, #66C804 as an accent and #5D057A for hover and pressed states. For a palette, the analogous pair #DCD1FD and #FDD1F2 stays calm, while #DCFDD1 is the loudest partner.

What is #f2d1fd in CMYK for printing?

cmyk(4%, 17%, 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 #f2d1fd 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 #FDD1F8; nudged cooler, #E2D1FD.

Work with #f2d1fd in the Color Lab