Skip to content

#f2d3fe

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

RGB
242, 211, 254
HSL
283°, 96%, 91%
CMYK
5, 17, 0, 0
Luminance
0.7262

At a glance

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

Hex
#f2d3fe
Hue
283°
violet
Saturation
96%
electric
Lightness
91%
pale
Brightness
100%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7262
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
15.52:1
Closest name
Thistle
ΔE2000 7.4
Where it sits
Hue283° of 360°
Saturation96%
Lightness91%
Temperature
Warm ← → Cool59% 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#f2d3fe
RGBrgb(242, 211, 254)
HSLhsl(283, 96%, 91%)
CMYKcmyk(5%, 17%, 0%, 0%)
LABlab(88.3 18.3 -17.0)
LCHlch(88.3 25.0 317.1)
OKLCHoklch(0.906 0.066 316.6)
Decimal15913982
Display P3color(display-p3 0.949 0.827 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2d3fe on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#f2d3fe on black: 15.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CEDCFF
deuteranopia · #D4DEFC
tritanopia · #F2D7E1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f2d3fe 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.

#FAF1FD
#f2d3fe
#EAC1FA
#DF91FD
#CF5AFB
#BE24FA
#AE05EF
#9104C8
#7404A0
#550773
#350548
Base = 100Lightest = 50 · #FAF1FDDarkest = 950 · #350548
:root {
  --brand-50: #FAF1FD;
  --brand-100: #f2d3fe;
  --brand-200: #EAC1FA;
  --brand-300: #DF91FD;
  --brand-400: #CF5AFB;
  --brand-500: #BE24FA;
  --brand-600: #AE05EF;
  --brand-700: #9104C8;
  --brand-800: #7404A0;
  --brand-900: #550773;
  --brand-950: #350548;
  --brand: #f2d3fe;
  --brand-ink: #000000;
}

Colors that work with #f2d3fe

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#E0C0ED
Hairlines and dividers
Muted text#854B9B
Captions on the surface
Accent#6DCC00
Second voice, not a rival
Dark variant#5B037D
Hover, pressed, headers
Light variant#F8E6FE
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 #f2d3fe

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#DFFED3
Analogous left#DDD3FE
Analogous right#FED3F5
Split-complement 1#F5FED3
Split-complement 2#D3FEDD
Triadic 1#FEF2D3
Triadic 2#D3FEF2
Tetradic#FEDDD3

RGB percentages

Red94.9%
Green82.7%
Blue99.6%

CMYK percentages

Cyan4.7%
Magenta16.9%
Yellow0.0%
Key (black)0.4%

Color previews

#f2d3fe text on a black background

contrast 15.52:1

Card sample

#f2d3fe text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d3fe

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.

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

#f2d3fe, answered

What color is #f2d3fe?

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

What is the RGB value of #f2d3fe?

rgb(242, 211, 254) — 242 red, 211 green and 254 blue out of 255, or 94.9% / 82.7% / 99.6% by channel.

Is #f2d3fe a light or a dark color?

It is a light color. Relative luminance is 0.7262 and perceived brightness is 89%, so black text on it reaches 15.52:1.

Should I use black or white text on #f2d3fe?

Black. It scores 15.52:1 against #f2d3fe, versus 1.35:1 for white — AAA at any size.

What is the complementary color of #f2d3fe?

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

What colors go well with #f2d3fe?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #854B9B for secondary text, #6DCC00 as an accent and #5B037D for hover and pressed states. For a palette, the analogous pair #DDD3FE and #FED3F5 stays calm, while #DFFED3 is the loudest partner.

What is #f2d3fe in CMYK for printing?

cmyk(5%, 17%, 0%, 0%). 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 #f2d3fe warm or cool?

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

Work with #f2d3fe in the Color Lab