Skip to content

#cdc6fe

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

RGB
205, 198, 254
HSL
248°, 97%, 89%
CMYK
19, 22, 0, 0
Luminance
0.6052

At a glance

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

Hex
#cdc6fe
Hue
248°
blue
Saturation
97%
electric
Lightness
89%
pale
Brightness
100%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6052
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
13.10:1
Closest name
Thistle
ΔE2000 11.1
Where it sits
Hue248° of 360°
Saturation97%
Lightness89%
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#cdc6fe
RGBrgb(205, 198, 254)
HSLhsl(248, 97%, 89%)
CMYKcmyk(19%, 22%, 0%, 0%)
LABlab(82.1 13.6 -26.6)
LCHlch(82.1 29.9 297.1)
OKLCHoklch(0.851 0.078 290.4)
Decimal13485822
Display P3color(display-p3 0.804 0.776 0.996)

Copy-ready code

/* CSS */
color: #cdc6fe;
background-color: #cdc6fe;
/* Tailwind (arbitrary) */
class="text-[#cdc6fe] bg-[#cdc6fe]"
/* SCSS */
$brand: #cdc6fe;
/* SwiftUI */
Color(red: 0.804, green: 0.776, blue: 0.996)
/* Android */
Color.parseColor("#cdc6fe")
/* Flutter */
Color(0xFFCDC6FE)
/* Python / OpenCV (BGR) */
(254, 198, 205)

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

Accessibility — WCAG contrast

Aa
#cdc6fe on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#cdc6fe on black: 13.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B9CDFF
deuteranopia · #B9CBFC
tritanopia · #C3CFD9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cdc6fe 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
#E7E4FC
#cdc6fe
#9E91FD
#6E5AFC
#3E22FB
#2204F1
#1C03C9
#1603A0
#140774
#0D0448
Base = 200Lightest = 50 · #F3F1FDDarkest = 950 · #0D0448
:root {
  --brand-50: #F3F1FD;
  --brand-100: #E7E4FC;
  --brand-200: #cdc6fe;
  --brand-300: #9E91FD;
  --brand-400: #6E5AFC;
  --brand-500: #3E22FB;
  --brand-600: #2204F1;
  --brand-700: #1C03C9;
  --brand-800: #1603A0;
  --brand-900: #140774;
  --brand-950: #0D0448;
  --brand: #cdc6fe;
  --brand-ink: #000000;
}

Colors that work with #cdc6fe

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#CCB400
Second voice, not a rival
Dark variant#12027D
Hover, pressed, headers
Light variant#E9E6FF
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 #cdc6fe

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#F7FEC6
Analogous left#C6DBFE
Analogous right#E9C6FE
Split-complement 1#FEE9C6
Split-complement 2#DBFEC6
Triadic 1#FECDC6
Triadic 2#C6FECD
Tetradic#FEC6DB

RGB percentages

Red80.4%
Green77.6%
Blue99.6%

CMYK percentages

Cyan19.3%
Magenta22.0%
Yellow0.0%
Key (black)0.4%

Color previews

#cdc6fe text on a black background

contrast 13.10:1

Card sample

#cdc6fe text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdc6fe

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.

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

#cdc6fe, answered

What color is #cdc6fe?

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

What is the RGB value of #cdc6fe?

rgb(205, 198, 254) — 205 red, 198 green and 254 blue out of 255, or 80.4% / 77.6% / 99.6% by channel.

Is #cdc6fe a light or a dark color?

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

Should I use black or white text on #cdc6fe?

Black. It scores 13.10:1 against #cdc6fe, versus 1.60:1 for white — AAA at any size.

What is the complementary color of #cdc6fe?

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

What colors go well with #cdc6fe?

For interface work: #F5F4FA as the surface, #C5C0ED for borders, #554B9B for secondary text, #CCB400 as an accent and #12027D for hover and pressed states. For a palette, the analogous pair #C6DBFE and #E9C6FE stays calm, while #F7FEC6 is the loudest partner.

What is #cdc6fe in CMYK for printing?

cmyk(19%, 22%, 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 #cdc6fe 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 #E1C6FE; nudged cooler, #C5D3FF.

Work with #cdc6fe in the Color Lab