Skip to content

#f8edfe

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

RGB
248, 237, 254
HSL
279°, 90%, 96%
CMYK
2, 7, 0, 0
Luminance
0.8768

At a glance

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

Hex
#f8edfe
Hue
279°
violet
Saturation
90%
electric
Lightness
96%
pale
Brightness
100%
HSV value
Perceived
95%
weighted brightness
Luminance
0.8768
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
18.54:1
Closest name
Lavender
ΔE2000 5
Where it sits
Hue279° of 360°
Saturation90%
Lightness96%
Temperature
Warm ← → Cool62% 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#f8edfe
RGBrgb(248, 237, 254)
HSLhsl(279, 90%, 96%)
CMYKcmyk(2%, 7%, 0%, 0%)
LABlab(95.0 6.7 -6.8)
LCHlch(95.0 9.6 314.3)
OKLCHoklch(0.960 0.025 314.0)
Decimal16313854
Display P3color(display-p3 0.973 0.929 0.996)

Copy-ready code

/* CSS */
color: #f8edfe;
background-color: #f8edfe;
/* Tailwind (arbitrary) */
class="text-[#f8edfe] bg-[#f8edfe]"
/* SCSS */
$brand: #f8edfe;
/* SwiftUI */
Color(red: 0.973, green: 0.929, blue: 0.996)
/* Android */
Color.parseColor("#f8edfe")
/* Flutter */
Color(0xFFF8EDFE)
/* Python / OpenCV (BGR) */
(254, 237, 248)

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

Accessibility — WCAG contrast

Aa
#f8edfe on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#f8edfe on black: 18.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #EBF0FF
deuteranopia · #EDF1FD
tritanopia · #F8EFF2

Color scale — 50 to 950

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

#f8edfe
#F3E5FB
#E6C3F8
#D695F9
#C160F6
#AC2AF3
#9B0DE8
#810BC1
#67099B
#4C0B70
#2F0746
Base = 50Lightest = 50 · #f8edfeDarkest = 950 · #2F0746
:root {
  --brand-50: #f8edfe;
  --brand-100: #F3E5FB;
  --brand-200: #E6C3F8;
  --brand-300: #D695F9;
  --brand-400: #C160F6;
  --brand-500: #AC2AF3;
  --brand-600: #9B0DE8;
  --brand-700: #810BC1;
  --brand-800: #67099B;
  --brand-900: #4C0B70;
  --brand-950: #2F0746;
  --brand: #f8edfe;
  --brand-ink: #000000;
}

Colors that work with #f8edfe

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#F8F4FA
Tinted page background
Border#DDC0ED
Hairlines and dividers
Muted text#7F4B9B
Captions on the surface
Accent#76C10B
Second voice, not a rival
Dark variant#500779
Hover, pressed, headers
Light variant#F6E7FE
Selected rows, tints
Dark surface#1F1424
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 #f8edfe

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#F3FEED
Analogous left#F0EDFE
Analogous right#FEEDFC
Split-complement 1#FCFEED
Split-complement 2#EDFEF0
Triadic 1#FEF8ED
Triadic 2#EDFEF8
Tetradic#FEF0ED

RGB percentages

Red97.3%
Green92.9%
Blue99.6%

CMYK percentages

Cyan2.4%
Magenta6.7%
Yellow0.0%
Key (black)0.4%

Color previews

#f8edfe text on a black background

contrast 18.54:1

Card sample

#f8edfe text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f8edfe

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.

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

#f8edfe, answered

What color is #f8edfe?

#f8edfe is a pale electric violet, closest to Lavender (ΔE2000 5). It sits at 279° on the hue wheel with 90% saturation and 96% lightness, which reads as cool.

What is the RGB value of #f8edfe?

rgb(248, 237, 254) — 248 red, 237 green and 254 blue out of 255, or 97.3% / 92.9% / 99.6% by channel.

Is #f8edfe a light or a dark color?

It is a light color. Relative luminance is 0.8768 and perceived brightness is 95%, so black text on it reaches 18.54:1.

Should I use black or white text on #f8edfe?

Black. It scores 18.54:1 against #f8edfe, versus 1.13:1 for white — AAA at any size.

What is the complementary color of #f8edfe?

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

What colors go well with #f8edfe?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7F4B9B for secondary text, #76C10B as an accent and #500779 for hover and pressed states. For a palette, the analogous pair #F0EDFE and #FEEDFC stays calm, while #F3FEED is the loudest partner.

What is #f8edfe in CMYK for printing?

cmyk(2%, 7%, 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 #f8edfe warm or cool?

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

Work with #f8edfe in the Color Lab