Skip to content

#cdc3f8

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

RGB
205, 195, 248
HSL
251°, 79%, 87%
CMYK
17, 21, 0, 3
Luminance
0.5879

At a glance

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

Hex
#cdc3f8
Hue
251°
blue
Saturation
79%
electric
Lightness
87%
pale
Brightness
97%
HSV value
Perceived
80%
weighted brightness
Luminance
0.5879
WCAG relative
Temperature
Cool
77/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
12.76:1
Closest name
Thistle
ΔE2000 9.8
Where it sits
Hue251° of 360°
Saturation79%
Lightness87%
Temperature
Warm ← → Cool77% 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#cdc3f8
RGBrgb(205, 195, 248)
HSLhsl(251, 79%, 87%)
CMYKcmyk(17%, 21%, 0%, 3%)
LABlab(81.2 13.9 -24.8)
LCHlch(81.2 28.5 299.3)
OKLCHoklch(0.843 0.074 293.4)
Decimal13485048
Display P3color(display-p3 0.804 0.765 0.973)

Copy-ready code

/* CSS */
color: #cdc3f8;
background-color: #cdc3f8;
/* Tailwind (arbitrary) */
class="text-[#cdc3f8] bg-[#cdc3f8]"
/* SCSS */
$brand: #cdc3f8;
/* SwiftUI */
Color(red: 0.804, green: 0.765, blue: 0.973)
/* Android */
Color.parseColor("#cdc3f8")
/* Flutter */
Color(0xFFCDC3F8)
/* Python / OpenCV (BGR) */
(248, 195, 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 #cdc3f8 · 12.76:1
Use #000000AAA at every size.
Aa
White text · 1.65:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.76:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cdc3f8 as text scores 1.65:1 on white and 12.76:1 on black.

Accessibility — WCAG contrast

Aa
#cdc3f8 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cdc3f8 on black: 12.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B7CAFA
deuteranopia · #B8C9F6
tritanopia · #C5CBD5

Color scale — 50 to 950

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

#F4F3FC
#EAE6F9
#cdc3f8
#AB9BF3
#8168ED
#5736E8
#3E1ADB
#3415B7
#291192
#21116A
#150A42
Base = 200Lightest = 50 · #F4F3FCDarkest = 950 · #150A42
:root {
  --brand-50: #F4F3FC;
  --brand-100: #EAE6F9;
  --brand-200: #cdc3f8;
  --brand-300: #AB9BF3;
  --brand-400: #8168ED;
  --brand-500: #5736E8;
  --brand-600: #3E1ADB;
  --brand-700: #3415B7;
  --brand-800: #291192;
  --brand-900: #21116A;
  --brand-950: #150A42;
  --brand: #cdc3f8;
  --brand-ink: #000000;
}

Colors that work with #cdc3f8

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#C8C0ED
Hairlines and dividers
Muted text#5A4B9B
Captions on the surface
Accent#BAB112
Second voice, not a rival
Dark variant#200D72
Hover, pressed, headers
Light variant#ECE8FC
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 #cdc3f8

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#EEF8C3
Analogous left#C3D4F8
Analogous right#E8C3F8
Split-complement 1#F8E8C3
Split-complement 2#D4F8C3
Triadic 1#F8CDC3
Triadic 2#C3F8CD
Tetradic#F8C3D4

RGB percentages

Red80.4%
Green76.5%
Blue97.3%

CMYK percentages

Cyan17.3%
Magenta21.4%
Yellow0.0%
Key (black)2.7%

Color previews

#cdc3f8 text on a black background

contrast 12.76:1

Card sample

#cdc3f8 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdc3f8

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.

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

#cdc3f8, answered

What color is #cdc3f8?

#cdc3f8 is a pale electric blue, closest to Thistle (ΔE2000 9.8). It sits at 251° on the hue wheel with 79% saturation and 87% lightness, which reads as cool.

What is the RGB value of #cdc3f8?

rgb(205, 195, 248) — 205 red, 195 green and 248 blue out of 255, or 80.4% / 76.5% / 97.3% by channel.

Is #cdc3f8 a light or a dark color?

It is a light color. Relative luminance is 0.5879 and perceived brightness is 80%, so black text on it reaches 12.76:1.

Should I use black or white text on #cdc3f8?

Black. It scores 12.76:1 against #cdc3f8, versus 1.65:1 for white — AAA at any size.

What is the complementary color of #cdc3f8?

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

What colors go well with #cdc3f8?

For interface work: #F5F4FA as the surface, #C8C0ED for borders, #5A4B9B for secondary text, #BAB112 as an accent and #200D72 for hover and pressed states. For a palette, the analogous pair #C3D4F8 and #E8C3F8 stays calm, while #EEF8C3 is the loudest partner.

What is #cdc3f8 in CMYK for printing?

cmyk(17%, 21%, 0%, 3%). 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 #cdc3f8 warm or cool?

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

Work with #cdc3f8 in the Color Lab