Skip to content

#cdc0f8

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

RGB
205, 192, 248
HSL
254°, 80%, 86%
CMYK
17, 23, 0, 3
Luminance
0.5746

At a glance

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

Hex
#cdc0f8
Hue
254°
blue
Saturation
80%
electric
Lightness
86%
pale
Brightness
97%
HSV value
Perceived
80%
weighted brightness
Luminance
0.5746
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
12.49:1
Closest name
Thistle
ΔE2000 10
Where it sits
Hue254° of 360°
Saturation80%
Lightness86%
Temperature
Warm ← → Cool76% 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#cdc0f8
RGBrgb(205, 192, 248)
HSLhsl(254, 80%, 86%)
CMYKcmyk(17%, 23%, 0%, 3%)
LABlab(80.4 15.5 -25.9)
LCHlch(80.4 30.3 300.9)
OKLCHoklch(0.837 0.079 295.3)
Decimal13484280
Display P3color(display-p3 0.804 0.753 0.973)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdc0f8 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cdc0f8 on black: 12.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B4C8FA
deuteranopia · #B5C7F6
tritanopia · #C5C9D3

Color scale — 50 to 950

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

#F5F3FC
#EBE6F9
#cdc0f8
#AF9AF4
#8768EE
#5F35E9
#4618DC
#3A14B8
#2F1093
#25106A
#170A42
Base = 200Lightest = 50 · #F5F3FCDarkest = 950 · #170A42
:root {
  --brand-50: #F5F3FC;
  --brand-100: #EBE6F9;
  --brand-200: #cdc0f8;
  --brand-300: #AF9AF4;
  --brand-400: #8768EE;
  --brand-500: #5F35E9;
  --brand-600: #4618DC;
  --brand-700: #3A14B8;
  --brand-800: #2F1093;
  --brand-900: #25106A;
  --brand-950: #170A42;
  --brand: #cdc0f8;
  --brand-ink: #000000;
}

Colors that work with #cdc0f8

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#F6F4FA
Tinted page background
Border#CAC0ED
Hairlines and dividers
Muted text#5D4B9B
Captions on the surface
Accent#BBB811
Second voice, not a rival
Dark variant#240D73
Hover, pressed, headers
Light variant#EDE8FC
Selected rows, tints
Dark surface#181424
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 #cdc0f8

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#EBF8C0
Analogous left#C0CFF8
Analogous right#E9C0F8
Split-complement 1#F8E9C0
Split-complement 2#CFF8C0
Triadic 1#F8CDC0
Triadic 2#C0F8CD
Tetradic#F8C0CF

RGB percentages

Red80.4%
Green75.3%
Blue97.3%

CMYK percentages

Cyan17.3%
Magenta22.6%
Yellow0.0%
Key (black)2.7%

Color previews

#cdc0f8 text on a black background

contrast 12.49:1

Card sample

#cdc0f8 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdc0f8

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.

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

#cdc0f8, answered

What color is #cdc0f8?

#cdc0f8 is a pale electric blue, closest to Thistle (ΔE2000 10). It sits at 254° on the hue wheel with 80% saturation and 86% lightness, which reads as cool.

What is the RGB value of #cdc0f8?

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

Is #cdc0f8 a light or a dark color?

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

Should I use black or white text on #cdc0f8?

Black. It scores 12.49:1 against #cdc0f8, versus 1.68:1 for white — AAA at any size.

What is the complementary color of #cdc0f8?

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

What colors go well with #cdc0f8?

For interface work: #F6F4FA as the surface, #CAC0ED for borders, #5D4B9B for secondary text, #BBB811 as an accent and #240D73 for hover and pressed states. For a palette, the analogous pair #C0CFF8 and #E9C0F8 stays calm, while #EBF8C0 is the loudest partner.

What is #cdc0f8 in CMYK for printing?

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

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

Work with #cdc0f8 in the Color Lab