Skip to content

#e2ceff

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

RGB
226, 206, 255
HSL
265°, 100%, 90%
CMYK
11, 19, 0, 0
Luminance
0.6753

At a glance

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

Hex
#e2ceff
Hue
265°
violet
Saturation
100%
electric
Lightness
90%
pale
Brightness
100%
HSV value
Perceived
86%
weighted brightness
Luminance
0.6753
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
14.51:1
Closest name
Thistle
ΔE2000 8.2
Where it sits
Hue265° of 360°
Saturation100%
Lightness90%
Temperature
Warm ← → Cool70% 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#e2ceff
RGBrgb(226, 206, 255)
HSLhsl(265, 100%, 90%)
CMYKcmyk(11%, 19%, 0%, 0%)
LABlab(85.8 16.0 -21.4)
LCHlch(85.8 26.8 306.8)
OKLCHoklch(0.883 0.070 303.6)
Decimal14864127
Display P3color(display-p3 0.886 0.808 1.000)

Copy-ready code

/* CSS */
color: #e2ceff;
background-color: #e2ceff;
/* Tailwind (arbitrary) */
class="text-[#e2ceff] bg-[#e2ceff]"
/* SCSS */
$brand: #e2ceff;
/* SwiftUI */
Color(red: 0.886, green: 0.808, blue: 1.000)
/* Android */
Color.parseColor("#e2ceff")
/* Flutter */
Color(0xFFE2CEFF)
/* Python / OpenCV (BGR) */
(255, 206, 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 #e2ceff · 14.51:1
Use #000000AAA at every size.
Aa
White text · 1.45:1
AA fail · AA large fail · AAA fail
Aa
Black text · 14.51:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #e2ceff as text scores 1.45:1 on white and 14.51:1 on black.

Accessibility — WCAG contrast

Aa
#e2ceff on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#e2ceff on black: 14.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C5D6FF
deuteranopia · #C9D6FD
tritanopia · #DED5DF

Color scale — 50 to 950

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

#F6F1FE
#EDE3FC
#e2ceff
#BD8FFF
#9B57FF
#7A1FFF
#6400F5
#5300CC
#4300A3
#330576
#200349
Base = 200Lightest = 50 · #F6F1FEDarkest = 950 · #200349
:root {
  --brand-50: #F6F1FE;
  --brand-100: #EDE3FC;
  --brand-200: #e2ceff;
  --brand-300: #BD8FFF;
  --brand-400: #9B57FF;
  --brand-500: #7A1FFF;
  --brand-600: #6400F5;
  --brand-700: #5300CC;
  --brand-800: #4300A3;
  --brand-900: #330576;
  --brand-950: #200349;
  --brand: #e2ceff;
  --brand-ink: #000000;
}

Colors that work with #e2ceff

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#D2C0ED
Hairlines and dividers
Muted text#6B4B9B
Captions on the surface
Accent#ABCC00
Second voice, not a rival
Dark variant#340080
Hover, pressed, headers
Light variant#F0E5FF
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 #e2ceff

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#EBFFCE
Analogous left#CED3FF
Analogous right#FBCEFF
Split-complement 1#FFFBCE
Split-complement 2#D3FFCE
Triadic 1#FFE2CE
Triadic 2#CEFFE2
Tetradic#FFCED3

RGB percentages

Red88.6%
Green80.8%
Blue100.0%

CMYK percentages

Cyan11.4%
Magenta19.2%
Yellow0.0%
Key (black)0.0%

Color previews

#e2ceff text on a black background

contrast 14.51:1

Card sample

#e2ceff text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2ceff

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.

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

#e2ceff, answered

What color is #e2ceff?

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

What is the RGB value of #e2ceff?

rgb(226, 206, 255) — 226 red, 206 green and 255 blue out of 255, or 88.6% / 80.8% / 100% by channel.

Is #e2ceff a light or a dark color?

It is a light color. Relative luminance is 0.6753 and perceived brightness is 86%, so black text on it reaches 14.51:1.

Should I use black or white text on #e2ceff?

Black. It scores 14.51:1 against #e2ceff, versus 1.45:1 for white — AAA at any size.

What is the complementary color of #e2ceff?

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

What colors go well with #e2ceff?

For interface work: #F7F4FA as the surface, #D2C0ED for borders, #6B4B9B for secondary text, #ABCC00 as an accent and #340080 for hover and pressed states. For a palette, the analogous pair #CED3FF and #FBCEFF stays calm, while #EBFFCE is the loudest partner.

What is #e2ceff in CMYK for printing?

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

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

Work with #e2ceff in the Color Lab