Skip to content

#ccc5fd

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

RGB
204, 197, 253
HSL
248°, 93%, 88%
CMYK
19, 22, 0, 1
Luminance
0.5986

At a glance

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

Hex
#ccc5fd
Hue
248°
blue
Saturation
93%
electric
Lightness
88%
pale
Brightness
99%
HSV value
Perceived
81%
weighted brightness
Luminance
0.5986
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
12.97:1
Closest name
Thistle
ΔE2000 11
Where it sits
Hue248° of 360°
Saturation93%
Lightness88%
Temperature
Warm ← → Cool79% 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#ccc5fd
RGBrgb(204, 197, 253)
HSLhsl(248, 93%, 88%)
CMYKcmyk(19%, 22%, 0%, 1%)
LABlab(81.8 13.6 -26.6)
LCHlch(81.8 29.9 297.1)
OKLCHoklch(0.848 0.078 290.4)
Decimal13420029
Display P3color(display-p3 0.800 0.773 0.992)

Copy-ready code

/* CSS */
color: #ccc5fd;
background-color: #ccc5fd;
/* Tailwind (arbitrary) */
class="text-[#ccc5fd] bg-[#ccc5fd]"
/* SCSS */
$brand: #ccc5fd;
/* SwiftUI */
Color(red: 0.800, green: 0.773, blue: 0.992)
/* Android */
Color.parseColor("#ccc5fd")
/* Flutter */
Color(0xFFCCC5FD)
/* Python / OpenCV (BGR) */
(253, 197, 204)

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

Accessibility — WCAG contrast

Aa
#ccc5fd on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#ccc5fd on black: 12.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B8CCFF
deuteranopia · #B8CAFB
tritanopia · #C2CED8

Color scale — 50 to 950

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

#F3F2FD
#E7E4FB
#ccc5fd
#A093FB
#705CF9
#4026F7
#2508ED
#1F07C5
#19059E
#160972
#0E0547
Base = 200Lightest = 50 · #F3F2FDDarkest = 950 · #0E0547
:root {
  --brand-50: #F3F2FD;
  --brand-100: #E7E4FB;
  --brand-200: #ccc5fd;
  --brand-300: #A093FB;
  --brand-400: #705CF9;
  --brand-500: #4026F7;
  --brand-600: #2508ED;
  --brand-700: #1F07C5;
  --brand-800: #19059E;
  --brand-900: #160972;
  --brand-950: #0E0547;
  --brand: #ccc5fd;
  --brand-ink: #000000;
}

Colors that work with #ccc5fd

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#F5F4FA
Tinted page background
Border#C5C0ED
Hairlines and dividers
Muted text#554B9B
Captions on the surface
Accent#C9B103
Second voice, not a rival
Dark variant#13047B
Hover, pressed, headers
Light variant#E9E6FE
Selected rows, tints
Dark surface#161424
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 #ccc5fd

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#F6FDC5
Analogous left#C5DAFD
Analogous right#E8C5FD
Split-complement 1#FDE8C5
Split-complement 2#DAFDC5
Triadic 1#FDCCC5
Triadic 2#C5FDCC
Tetradic#FDC5DA

RGB percentages

Red80.0%
Green77.3%
Blue99.2%

CMYK percentages

Cyan19.4%
Magenta22.1%
Yellow0.0%
Key (black)0.8%

Color previews

#ccc5fd text on a black background

contrast 12.97:1

Card sample

#ccc5fd text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc5fd

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.

#ccc5fd in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ccc5fd, answered

What color is #ccc5fd?

#ccc5fd is a pale electric blue, closest to Thistle (ΔE2000 11). It sits at 248° on the hue wheel with 93% saturation and 88% lightness, which reads as cool.

What is the RGB value of #ccc5fd?

rgb(204, 197, 253) — 204 red, 197 green and 253 blue out of 255, or 80% / 77.3% / 99.2% by channel.

Is #ccc5fd a light or a dark color?

It is a light color. Relative luminance is 0.5986 and perceived brightness is 81%, so black text on it reaches 12.97:1.

Should I use black or white text on #ccc5fd?

Black. It scores 12.97:1 against #ccc5fd, versus 1.62:1 for white — AAA at any size.

What is the complementary color of #ccc5fd?

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

What colors go well with #ccc5fd?

For interface work: #F5F4FA as the surface, #C5C0ED for borders, #554B9B for secondary text, #C9B103 as an accent and #13047B for hover and pressed states. For a palette, the analogous pair #C5DAFD and #E8C5FD stays calm, while #F6FDC5 is the loudest partner.

What is #ccc5fd in CMYK for printing?

cmyk(19%, 22%, 0%, 1%). 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 #ccc5fd warm or cool?

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

Work with #ccc5fd in the Color Lab