Skip to content

#e2c6eb

a light, vivid violet · cool · closest name: Thistle

RGB
226, 198, 235
HSL
285°, 48%, 85%
CMYK
4, 16, 0, 8
Luminance
0.6256

At a glance

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

Hex
#e2c6eb
Hue
285°
violet
Saturation
48%
vivid
Lightness
85%
light
Brightness
92%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6256
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
13.51:1
Closest name
Thistle
ΔE2000 4.2
Where it sits
Hue285° of 360°
Saturation48%
Lightness85%
Temperature
Warm ← → Cool58% 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#e2c6eb
RGBrgb(226, 198, 235)
HSLhsl(285, 48%, 85%)
CMYKcmyk(4%, 16%, 0%, 8%)
LABlab(83.2 16.4 -14.7)
LCHlch(83.2 22.0 318.2)
OKLCHoklch(0.862 0.059 317.9)
Decimal14862059
Display P3color(display-p3 0.886 0.776 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2c6eb on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#e2c6eb on black: 13.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C2CDED
deuteranopia · #C8D0EA
tritanopia · #E2CAD2

Color scale — 50 to 950

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

#F9F4FA
#F3EAF5
#e2c6eb
#D5ACE2
#C082D3
#AB59C5
#9940B5
#7F3597
#662A79
#4B2258
#2F1537
Base = 200Lightest = 50 · #F9F4FADarkest = 950 · #2F1537
:root {
  --brand-50: #F9F4FA;
  --brand-100: #F3EAF5;
  --brand-200: #e2c6eb;
  --brand-300: #D5ACE2;
  --brand-400: #C082D3;
  --brand-500: #AB59C5;
  --brand-600: #9940B5;
  --brand-700: #7F3597;
  --brand-800: #662A79;
  --brand-900: #4B2258;
  --brand-950: #2F1537;
  --brand: #e2c6eb;
  --brand-ink: #000000;
}

Colors that work with #e2c6eb

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#F9F4FA
Tinted page background
Border#E0C3EA
Hairlines and dividers
Muted text#874B9B
Captions on the surface
Accent#659C30
Second voice, not a rival
Dark variant#4F215E
Hover, pressed, headers
Light variant#F5ECF8
Selected rows, tints
Dark surface#201424
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 #e2c6eb

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#CFEBC6
Analogous left#CFC6EB
Analogous right#EBC6E2
Split-complement 1#E2EBC6
Split-complement 2#C6EBCF
Triadic 1#EBE2C6
Triadic 2#C6EBE2
Tetradic#EBCFC6

RGB percentages

Red88.6%
Green77.6%
Blue92.2%

CMYK percentages

Cyan3.8%
Magenta15.7%
Yellow0.0%
Key (black)7.8%

Color previews

#e2c6eb text on a black background

contrast 13.51:1

Card sample

#e2c6eb text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2c6eb

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.

#e2c6eb 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

Converts to four-color process without much drama. Proof it anyway.

#e2c6eb, answered

What color is #e2c6eb?

#e2c6eb is a light vivid violet, closest to Thistle (ΔE2000 4.2). It sits at 285° on the hue wheel with 48% saturation and 85% lightness, which reads as cool.

What is the RGB value of #e2c6eb?

rgb(226, 198, 235) — 226 red, 198 green and 235 blue out of 255, or 88.6% / 77.6% / 92.2% by channel.

Is #e2c6eb a light or a dark color?

It is a light color. Relative luminance is 0.6256 and perceived brightness is 83%, so black text on it reaches 13.51:1.

Should I use black or white text on #e2c6eb?

Black. It scores 13.51:1 against #e2c6eb, versus 1.55:1 for white — AAA at any size.

What is the complementary color of #e2c6eb?

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

What colors go well with #e2c6eb?

For interface work: #F9F4FA as the surface, #E0C3EA for borders, #874B9B for secondary text, #659C30 as an accent and #4F215E for hover and pressed states. For a palette, the analogous pair #CFC6EB and #EBC6E2 stays calm, while #CFEBC6 is the loudest partner.

What is #e2c6eb in CMYK for printing?

cmyk(4%, 16%, 0%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #e2c6eb warm or cool?

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

Work with #e2c6eb in the Color Lab