Skip to content

#f5ccff

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

RGB
245, 204, 255
HSL
288°, 100%, 90%
CMYK
4, 20, 0, 0
Luminance
0.6982

At a glance

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

Hex
#f5ccff
Hue
288°
violet
Saturation
100%
electric
Lightness
90%
pale
Brightness
100%
HSV value
Perceived
88%
weighted brightness
Luminance
0.6982
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
14.96:1
Closest name
Thistle
ΔE2000 8.6
Where it sits
Hue288° of 360°
Saturation100%
Lightness90%
Temperature
Warm ← → Cool57% 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#f5ccff
RGBrgb(245, 204, 255)
HSLhsl(288, 100%, 90%)
CMYKcmyk(4%, 20%, 0%, 0%)
LABlab(86.9 23.1 -19.5)
LCHlch(86.9 30.3 319.8)
OKLCHoklch(0.896 0.081 319.6)
Decimal16108799
Display P3color(display-p3 0.961 0.800 1.000)

Copy-ready code

/* CSS */
color: #f5ccff;
background-color: #f5ccff;
/* Tailwind (arbitrary) */
class="text-[#f5ccff] bg-[#f5ccff]"
/* SCSS */
$brand: #f5ccff;
/* SwiftUI */
Color(red: 0.961, green: 0.800, blue: 1.000)
/* Android */
Color.parseColor("#f5ccff")
/* Flutter */
Color(0xFFF5CCFF)
/* Python / OpenCV (BGR) */
(255, 204, 245)

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

Accessibility — WCAG contrast

Aa
#f5ccff on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#f5ccff on black: 14.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C7D7FF
deuteranopia · #CFDBFD
tritanopia · #F6D1DD

Color scale — 50 to 950

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

#FBF1FE
#F7E3FC
#f5ccff
#E98FFF
#DE57FF
#D31FFF
#C500F5
#A400CC
#8300A3
#5F0576
#3C0349
Base = 200Lightest = 50 · #FBF1FEDarkest = 950 · #3C0349
:root {
  --brand-50: #FBF1FE;
  --brand-100: #F7E3FC;
  --brand-200: #f5ccff;
  --brand-300: #E98FFF;
  --brand-400: #DE57FF;
  --brand-500: #D31FFF;
  --brand-600: #C500F5;
  --brand-700: #A400CC;
  --brand-800: #8300A3;
  --brand-900: #5F0576;
  --brand-950: #3C0349;
  --brand: #f5ccff;
  --brand-ink: #000000;
}

Colors that work with #f5ccff

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#E4C0ED
Hairlines and dividers
Muted text#8B4B9B
Captions on the surface
Accent#5CCC00
Second voice, not a rival
Dark variant#660080
Hover, pressed, headers
Light variant#FAE5FF
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 #f5ccff

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#D6FFCC
Analogous left#DBCCFF
Analogous right#FFCCF0
Split-complement 1#F0FFCC
Split-complement 2#CCFFDB
Triadic 1#FFF5CC
Triadic 2#CCFFF5
Tetradic#FFDBCC

RGB percentages

Red96.1%
Green80.0%
Blue100.0%

CMYK percentages

Cyan3.9%
Magenta20.0%
Yellow0.0%
Key (black)0.0%

Color previews

#f5ccff text on a black background

contrast 14.96:1

Card sample

#f5ccff text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f5ccff

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.

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

#f5ccff, answered

What color is #f5ccff?

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

What is the RGB value of #f5ccff?

rgb(245, 204, 255) — 245 red, 204 green and 255 blue out of 255, or 96.1% / 80% / 100% by channel.

Is #f5ccff a light or a dark color?

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

Should I use black or white text on #f5ccff?

Black. It scores 14.96:1 against #f5ccff, versus 1.40:1 for white — AAA at any size.

What is the complementary color of #f5ccff?

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

What colors go well with #f5ccff?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5CCC00 as an accent and #660080 for hover and pressed states. For a palette, the analogous pair #DBCCFF and #FFCCF0 stays calm, while #D6FFCC is the loudest partner.

What is #f5ccff in CMYK for printing?

cmyk(4%, 20%, 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 #f5ccff warm or cool?

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

Work with #f5ccff in the Color Lab