Skip to content

#f2d2f9

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

RGB
242, 210, 249
HSL
289°, 77%, 90%
CMYK
3, 16, 0, 2
Luminance
0.7181

At a glance

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

Hex
#f2d2f9
Hue
289°
violet
Saturation
77%
electric
Lightness
90%
pale
Brightness
98%
HSV value
Perceived
88%
weighted brightness
Luminance
0.7181
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
15.36:1
Closest name
Thistle
ΔE2000 6.6
Where it sits
Hue289° of 360°
Saturation77%
Lightness90%
Temperature
Warm ← → Cool56% cool

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

Every format

HEX#f2d2f9
RGBrgb(242, 210, 249)
HSLhsl(289, 77%, 90%)
CMYKcmyk(3%, 16%, 0%, 2%)
LABlab(87.9 17.9 -14.9)
LCHlch(87.9 23.3 320.1)
OKLCHoklch(0.902 0.063 320.2)
Decimal15913721
Display P3color(display-p3 0.949 0.824 0.976)

Copy-ready code

/* CSS */
color: #f2d2f9;
background-color: #f2d2f9;
/* Tailwind (arbitrary) */
class="text-[#f2d2f9] bg-[#f2d2f9]"
/* SCSS */
$brand: #f2d2f9;
/* SwiftUI */
Color(red: 0.949, green: 0.824, blue: 0.976)
/* Android */
Color.parseColor("#f2d2f9")
/* Flutter */
Color(0xFFF2D2F9)
/* Python / OpenCV (BGR) */
(249, 210, 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 #f2d2f9 · 15.36:1
Use #000000AAA at every size.
Aa
White text · 1.37:1
AA fail · AA large fail · AAA fail
Aa
Black text · 15.36:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #f2d2f9 as text scores 1.37:1 on white and 15.36:1 on black.

Accessibility — WCAG contrast

Aa
#f2d2f9 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#f2d2f9 on black: 15.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CEDAFB
deuteranopia · #D5DEF8
tritanopia · #F3D6DF

Color scale — 50 to 950

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

#FAF3FC
#F6E7F9
#f2d2f9
#E29CF2
#D46AEB
#C639E5
#B61DD8
#9818B4
#7A1390
#591268
#370B41
Base = 200Lightest = 50 · #FAF3FCDarkest = 950 · #370B41
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F6E7F9;
  --brand-200: #f2d2f9;
  --brand-300: #E29CF2;
  --brand-400: #D46AEB;
  --brand-500: #C639E5;
  --brand-600: #B61DD8;
  --brand-700: #9818B4;
  --brand-800: #7A1390;
  --brand-900: #591268;
  --brand-950: #370B41;
  --brand: #f2d2f9;
  --brand-ink: #000000;
}

Colors that work with #f2d2f9

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#E5C0ED
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#5CB814
Second voice, not a rival
Dark variant#5F0F71
Hover, pressed, headers
Light variant#F8E8FC
Selected rows, tints
Dark surface#211424
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 #f2d2f9

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#D9F9D2
Analogous left#DED2F9
Analogous right#F9D2ED
Split-complement 1#EDF9D2
Split-complement 2#D2F9DE
Triadic 1#F9F2D2
Triadic 2#D2F9F2
Tetradic#F9DED2

RGB percentages

Red94.9%
Green82.4%
Blue97.6%

CMYK percentages

Cyan2.8%
Magenta15.7%
Yellow0.0%
Key (black)2.4%

Color previews

#f2d2f9 text on a black background

contrast 15.36:1

Card sample

#f2d2f9 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d2f9

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.

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

#f2d2f9, answered

What color is #f2d2f9?

#f2d2f9 is a pale electric violet, closest to Thistle (ΔE2000 6.6). It sits at 289° on the hue wheel with 77% saturation and 90% lightness, which reads as neutral.

What is the RGB value of #f2d2f9?

rgb(242, 210, 249) — 242 red, 210 green and 249 blue out of 255, or 94.9% / 82.4% / 97.6% by channel.

Is #f2d2f9 a light or a dark color?

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

Should I use black or white text on #f2d2f9?

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

What is the complementary color of #f2d2f9?

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

What colors go well with #f2d2f9?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8C4B9B for secondary text, #5CB814 as an accent and #5F0F71 for hover and pressed states. For a palette, the analogous pair #DED2F9 and #F9D2ED stays calm, while #D9F9D2 is the loudest partner.

What is #f2d2f9 in CMYK for printing?

cmyk(3%, 16%, 0%, 2%). 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 #f2d2f9 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F9D2F2; nudged cooler, #E4D1FA.

Work with #f2d2f9 in the Color Lab