Skip to content

#e2cdfc

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

RGB
226, 205, 252
HSL
267°, 89%, 90%
CMYK
10, 19, 0, 1
Luminance
0.6686

At a glance

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

Hex
#e2cdfc
Hue
267°
violet
Saturation
89%
electric
Lightness
90%
pale
Brightness
99%
HSV value
Perceived
85%
weighted brightness
Luminance
0.6686
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
14.37:1
Closest name
Thistle
ΔE2000 7.6
Where it sits
Hue267° of 360°
Saturation89%
Lightness90%
Temperature
Warm ← → Cool68% 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#e2cdfc
RGBrgb(226, 205, 252)
HSLhsl(267, 89%, 90%)
CMYKcmyk(10%, 19%, 0%, 1%)
LABlab(85.4 16.0 -20.3)
LCHlch(85.4 25.9 308.1)
OKLCHoklch(0.880 0.068 305.3)
Decimal14863868
Display P3color(display-p3 0.886 0.804 0.988)

Copy-ready code

/* CSS */
color: #e2cdfc;
background-color: #e2cdfc;
/* Tailwind (arbitrary) */
class="text-[#e2cdfc] bg-[#e2cdfc]"
/* SCSS */
$brand: #e2cdfc;
/* SwiftUI */
Color(red: 0.886, green: 0.804, blue: 0.988)
/* Android */
Color.parseColor("#e2cdfc")
/* Flutter */
Color(0xFFE2CDFC)
/* Python / OpenCV (BGR) */
(252, 205, 226)

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

Accessibility — WCAG contrast

Aa
#e2cdfc on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#e2cdfc on black: 14.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C5D5FE
deuteranopia · #C9D6FB
tritanopia · #DED3DD

Color scale — 50 to 950

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

#F7F2FD
#EFE5FB
#e2cdfc
#C295F9
#A360F5
#842BF2
#6F0EE7
#5C0CC0
#4A099A
#380B6F
#230745
Base = 200Lightest = 50 · #F7F2FDDarkest = 950 · #230745
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EFE5FB;
  --brand-200: #e2cdfc;
  --brand-300: #C295F9;
  --brand-400: #A360F5;
  --brand-500: #842BF2;
  --brand-600: #6F0EE7;
  --brand-700: #5C0CC0;
  --brand-800: #4A099A;
  --brand-900: #380B6F;
  --brand-950: #230745;
  --brand: #e2cdfc;
  --brand-ink: #000000;
}

Colors that work with #e2cdfc

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#F7F4FA
Tinted page background
Border#D4C0ED
Hairlines and dividers
Muted text#6E4B9B
Captions on the surface
Accent#9EC408
Second voice, not a rival
Dark variant#3A0778
Hover, pressed, headers
Light variant#F1E7FE
Selected rows, tints
Dark surface#1B1424
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 #e2cdfc

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#E7FCCD
Analogous left#CDCFFC
Analogous right#F9CDFC
Split-complement 1#FCF9CD
Split-complement 2#CFFCCD
Triadic 1#FCE2CD
Triadic 2#CDFCE2
Tetradic#FCCDCF

RGB percentages

Red88.6%
Green80.4%
Blue98.8%

CMYK percentages

Cyan10.3%
Magenta18.7%
Yellow0.0%
Key (black)1.2%

Color previews

#e2cdfc text on a black background

contrast 14.37:1

Card sample

#e2cdfc text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2cdfc

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.

#e2cdfc in the real world

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

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#e2cdfc, answered

What color is #e2cdfc?

#e2cdfc is a pale electric violet, closest to Thistle (ΔE2000 7.6). It sits at 267° on the hue wheel with 89% saturation and 90% lightness, which reads as cool.

What is the RGB value of #e2cdfc?

rgb(226, 205, 252) — 226 red, 205 green and 252 blue out of 255, or 88.6% / 80.4% / 98.8% by channel.

Is #e2cdfc a light or a dark color?

It is a light color. Relative luminance is 0.6686 and perceived brightness is 85%, so black text on it reaches 14.37:1.

Should I use black or white text on #e2cdfc?

Black. It scores 14.37:1 against #e2cdfc, versus 1.46:1 for white — AAA at any size.

What is the complementary color of #e2cdfc?

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

What colors go well with #e2cdfc?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6E4B9B for secondary text, #9EC408 as an accent and #3A0778 for hover and pressed states. For a palette, the analogous pair #CDCFFC and #F9CDFC stays calm, while #E7FCCD is the loudest partner.

What is #e2cdfc in CMYK for printing?

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

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

Work with #e2cdfc in the Color Lab