Skip to content

#fcf7ff

a pale, electric violet · cool · closest name: Ghost White

RGB
252, 247, 255
HSL
278°, 100%, 98%
CMYK
1, 3, 0, 0
Luminance
0.9444

At a glance

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

Hex
#fcf7ff
Hue
278°
violet
Saturation
100%
electric
Lightness
98%
pale
Brightness
100%
HSV value
Perceived
98%
weighted brightness
Luminance
0.9444
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
19.89:1
Closest name
Ghost White
ΔE2000 2.5
Where it sits
Hue278° of 360°
Saturation100%
Lightness98%
Temperature
Warm ← → Cool63% 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#fcf7ff
RGBrgb(252, 247, 255)
HSLhsl(278, 100%, 98%)
CMYKcmyk(1%, 3%, 0%, 0%)
LABlab(97.8 3.1 -3.2)
LCHlch(97.8 4.5 313.5)
OKLCHoklch(0.982 0.012 313.2)
Decimal16578559
Display P3color(display-p3 0.988 0.969 1.000)

Copy-ready code

/* CSS */
color: #fcf7ff;
background-color: #fcf7ff;
/* Tailwind (arbitrary) */
class="text-[#fcf7ff] bg-[#fcf7ff]"
/* SCSS */
$brand: #fcf7ff;
/* SwiftUI */
Color(red: 0.988, green: 0.969, blue: 1.000)
/* Android */
Color.parseColor("#fcf7ff")
/* Flutter */
Color(0xFFFCF7FF)
/* Python / OpenCV (BGR) */
(255, 247, 252)

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

Accessibility — WCAG contrast

Aa
#fcf7ff on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fcf7ff on black: 19.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F6F8FF
deuteranopia · #F7F9FF
tritanopia · #FCF8F9

Color scale — 50 to 950

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

#fcf7ff
#F3E3FC
#E5C0FC
#D58FFF
#C057FF
#AB1FFF
#9900F5
#8000CC
#6600A3
#4B0576
#2F0349
Base = 50Lightest = 50 · #fcf7ffDarkest = 950 · #2F0349
:root {
  --brand-50: #fcf7ff;
  --brand-100: #F3E3FC;
  --brand-200: #E5C0FC;
  --brand-300: #D58FFF;
  --brand-400: #C057FF;
  --brand-500: #AB1FFF;
  --brand-600: #9900F5;
  --brand-700: #8000CC;
  --brand-800: #6600A3;
  --brand-900: #4B0576;
  --brand-950: #2F0349;
  --brand: #fcf7ff;
  --brand-ink: #000000;
}

Colors that work with #fcf7ff

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#DCC0ED
Hairlines and dividers
Muted text#7D4B9B
Captions on the surface
Accent#80CC00
Second voice, not a rival
Dark variant#500080
Hover, pressed, headers
Light variant#F5E5FF
Selected rows, tints
Dark surface#1E1424
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 #fcf7ff

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#FAFFF7
Analogous left#F8F7FF
Analogous right#FFF7FE
Split-complement 1#FEFFF7
Split-complement 2#F7FFF8
Triadic 1#FFFCF7
Triadic 2#F7FFFC
Tetradic#FFF8F7

RGB percentages

Red98.8%
Green96.9%
Blue100.0%

CMYK percentages

Cyan1.2%
Magenta3.1%
Yellow0.0%
Key (black)0.0%

Color previews

#fcf7ff text on a black background

contrast 19.89:1

Card sample

#fcf7ff text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 247, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 247, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fcf7ff;
background: linear-gradient(135deg, #fcf7ff, #FFF7FD);

Monochromatic scale

Palettes built from #fcf7ff

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.

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

#fcf7ff, answered

What color is #fcf7ff?

#fcf7ff is a pale electric violet, closest to Ghost White (ΔE2000 2.5). It sits at 278° on the hue wheel with 100% saturation and 98% lightness, which reads as cool.

What is the RGB value of #fcf7ff?

rgb(252, 247, 255) — 252 red, 247 green and 255 blue out of 255, or 98.8% / 96.9% / 100% by channel.

Is #fcf7ff a light or a dark color?

It is a light color. Relative luminance is 0.9444 and perceived brightness is 98%, so black text on it reaches 19.89:1.

Should I use black or white text on #fcf7ff?

Black. It scores 19.89:1 against #fcf7ff, versus 1.06:1 for white — AAA at any size.

What is the complementary color of #fcf7ff?

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

What colors go well with #fcf7ff?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7D4B9B for secondary text, #80CC00 as an accent and #500080 for hover and pressed states. For a palette, the analogous pair #F8F7FF and #FFF7FE stays calm, while #FAFFF7 is the loudest partner.

What is #fcf7ff in CMYK for printing?

cmyk(1%, 3%, 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 #fcf7ff warm or cool?

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

Work with #fcf7ff in the Color Lab