Skip to content

#cec4fe

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

RGB
206, 196, 254
HSL
250°, 97%, 88%
CMYK
19, 23, 0, 0
Luminance
0.5976

At a glance

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

Hex
#cec4fe
Hue
250°
blue
Saturation
97%
electric
Lightness
88%
pale
Brightness
100%
HSV value
Perceived
81%
weighted brightness
Luminance
0.5976
WCAG relative
Temperature
Cool
78/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
12.95:1
Closest name
Thistle
ΔE2000 11
Where it sits
Hue250° of 360°
Saturation97%
Lightness88%
Temperature
Warm ← → Cool78% 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#cec4fe
RGBrgb(206, 196, 254)
HSLhsl(250, 97%, 88%)
CMYKcmyk(19%, 23%, 0%, 0%)
LABlab(81.7 15.0 -27.2)
LCHlch(81.7 31.1 298.9)
OKLCHoklch(0.848 0.081 292.5)
Decimal13550846
Display P3color(display-p3 0.808 0.769 0.996)

Copy-ready code

/* CSS */
color: #cec4fe;
background-color: #cec4fe;
/* Tailwind (arbitrary) */
class="text-[#cec4fe] bg-[#cec4fe]"
/* SCSS */
$brand: #cec4fe;
/* SwiftUI */
Color(red: 0.808, green: 0.769, blue: 0.996)
/* Android */
Color.parseColor("#cec4fe")
/* Flutter */
Color(0xFFCEC4FE)
/* Python / OpenCV (BGR) */
(254, 196, 206)

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

Accessibility — WCAG contrast

Aa
#cec4fe on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#cec4fe on black: 12.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B7CCFF
deuteranopia · #B7CAFC
tritanopia · #C5CDD8

Color scale — 50 to 950

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

#F3F1FD
#E8E4FC
#cec4fe
#A391FD
#7559FC
#4822FB
#2D04F1
#2503C9
#1E03A1
#190774
#100448
Base = 200Lightest = 50 · #F3F1FDDarkest = 950 · #100448
:root {
  --brand-50: #F3F1FD;
  --brand-100: #E8E4FC;
  --brand-200: #cec4fe;
  --brand-300: #A391FD;
  --brand-400: #7559FC;
  --brand-500: #4822FB;
  --brand-600: #2D04F1;
  --brand-700: #2503C9;
  --brand-800: #1E03A1;
  --brand-900: #190774;
  --brand-950: #100448;
  --brand: #cec4fe;
  --brand-ink: #000000;
}

Colors that work with #cec4fe

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#C7C0ED
Hairlines and dividers
Muted text#584B9B
Captions on the surface
Accent#CCBB00
Second voice, not a rival
Dark variant#17027D
Hover, pressed, headers
Light variant#EAE6FF
Selected rows, tints
Dark surface#171424
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 #cec4fe

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#F4FEC4
Analogous left#C4D7FE
Analogous right#EBC4FE
Split-complement 1#FEEBC4
Split-complement 2#D7FEC4
Triadic 1#FECEC4
Triadic 2#C4FECE
Tetradic#FEC4D7

RGB percentages

Red80.8%
Green76.9%
Blue99.6%

CMYK percentages

Cyan18.9%
Magenta22.8%
Yellow0.0%
Key (black)0.4%

Color previews

#cec4fe text on a black background

contrast 12.95:1

Card sample

#cec4fe text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec4fe

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.

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

#cec4fe, answered

What color is #cec4fe?

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

What is the RGB value of #cec4fe?

rgb(206, 196, 254) — 206 red, 196 green and 254 blue out of 255, or 80.8% / 76.9% / 99.6% by channel.

Is #cec4fe a light or a dark color?

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

Should I use black or white text on #cec4fe?

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

What is the complementary color of #cec4fe?

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

What colors go well with #cec4fe?

For interface work: #F5F4FA as the surface, #C7C0ED for borders, #584B9B for secondary text, #CCBB00 as an accent and #17027D for hover and pressed states. For a palette, the analogous pair #C4D7FE and #EBC4FE stays calm, while #F4FEC4 is the loudest partner.

What is #cec4fe in CMYK for printing?

cmyk(19%, 23%, 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 #cec4fe warm or cool?

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

Work with #cec4fe in the Color Lab