Skip to content

#e0ccff

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

RGB
224, 204, 255
HSL
264°, 100%, 90%
CMYK
12, 20, 0, 0
Luminance
0.6625

At a glance

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

Hex
#e0ccff
Hue
264°
violet
Saturation
100%
electric
Lightness
90%
pale
Brightness
100%
HSV value
Perceived
85%
weighted brightness
Luminance
0.6625
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
14.25:1
Closest name
Thistle
ΔE2000 8.5
Where it sits
Hue264° 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#e0ccff
RGBrgb(224, 204, 255)
HSLhsl(264, 100%, 90%)
CMYKcmyk(12%, 20%, 0%, 0%)
LABlab(85.1 16.5 -22.4)
LCHlch(85.1 27.8 306.3)
OKLCHoklch(0.878 0.072 302.8)
Decimal14732543
Display P3color(display-p3 0.878 0.800 1.000)

Copy-ready code

/* CSS */
color: #e0ccff;
background-color: #e0ccff;
/* Tailwind (arbitrary) */
class="text-[#e0ccff] bg-[#e0ccff]"
/* SCSS */
$brand: #e0ccff;
/* SwiftUI */
Color(red: 0.878, green: 0.800, blue: 1.000)
/* Android */
Color.parseColor("#e0ccff")
/* Flutter */
Color(0xFFE0CCFF)
/* Python / OpenCV (BGR) */
(255, 204, 224)

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

Accessibility — WCAG contrast

Aa
#e0ccff on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#e0ccff on black: 14.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C3D4FF
deuteranopia · #C6D5FD
tritanopia · #DBD3DD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #e0ccff 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
#e0ccff
#BB8FFF
#9957FF
#761FFF
#6000F5
#5000CC
#4000A3
#310576
#1F0349
Base = 200Lightest = 50 · #F6F1FEDarkest = 950 · #1F0349
:root {
  --brand-50: #F6F1FE;
  --brand-100: #EDE3FC;
  --brand-200: #e0ccff;
  --brand-300: #BB8FFF;
  --brand-400: #9957FF;
  --brand-500: #761FFF;
  --brand-600: #6000F5;
  --brand-700: #5000CC;
  --brand-800: #4000A3;
  --brand-900: #310576;
  --brand-950: #1F0349;
  --brand: #e0ccff;
  --brand-ink: #000000;
}

Colors that work with #e0ccff

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#D1C0ED
Hairlines and dividers
Muted text#6A4B9B
Captions on the surface
Accent#B0CC00
Second voice, not a rival
Dark variant#320080
Hover, pressed, headers
Light variant#EFE5FF
Selected rows, tints
Dark surface#1A1424
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 #e0ccff

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#EBFFCC
Analogous left#CCD2FF
Analogous right#F9CCFF
Split-complement 1#FFF9CC
Split-complement 2#D2FFCC
Triadic 1#FFE0CC
Triadic 2#CCFFE0
Tetradic#FFCCD2

RGB percentages

Red87.8%
Green80.0%
Blue100.0%

CMYK percentages

Cyan12.2%
Magenta20.0%
Yellow0.0%
Key (black)0.0%

Color previews

#e0ccff text on a black background

contrast 14.25:1

Card sample

#e0ccff text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e0ccff

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.

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

#e0ccff, answered

What color is #e0ccff?

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

What is the RGB value of #e0ccff?

rgb(224, 204, 255) — 224 red, 204 green and 255 blue out of 255, or 87.8% / 80% / 100% by channel.

Is #e0ccff a light or a dark color?

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

Should I use black or white text on #e0ccff?

Black. It scores 14.25:1 against #e0ccff, versus 1.47:1 for white — AAA at any size.

What is the complementary color of #e0ccff?

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

What colors go well with #e0ccff?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #6A4B9B for secondary text, #B0CC00 as an accent and #320080 for hover and pressed states. For a palette, the analogous pair #CCD2FF and #F9CCFF stays calm, while #EBFFCC is the loudest partner.

What is #e0ccff in CMYK for printing?

cmyk(12%, 20%, 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 #e0ccff 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 #F3CCFF; nudged cooler, #CDCCFF.

Work with #e0ccff in the Color Lab