Skip to content

#dec6fe

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

RGB
222, 198, 254
HSL
266°, 97%, 89%
CMYK
13, 22, 0, 0
Luminance
0.6307

At a glance

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

Hex
#dec6fe
Hue
266°
violet
Saturation
97%
electric
Lightness
89%
pale
Brightness
100%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6307
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
13.61:1
Closest name
Thistle
ΔE2000 9.1
Where it sits
Hue266° of 360°
Saturation97%
Lightness89%
Temperature
Warm ← → Cool69% 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#dec6fe
RGBrgb(222, 198, 254)
HSLhsl(266, 97%, 89%)
CMYKcmyk(13%, 22%, 0%, 0%)
LABlab(83.5 18.8 -24.4)
LCHlch(83.5 30.8 307.7)
OKLCHoklch(0.865 0.080 304.3)
Decimal14599934
Display P3color(display-p3 0.871 0.776 0.996)

Copy-ready code

/* CSS */
color: #dec6fe;
background-color: #dec6fe;
/* Tailwind (arbitrary) */
class="text-[#dec6fe] bg-[#dec6fe]"
/* SCSS */
$brand: #dec6fe;
/* SwiftUI */
Color(red: 0.871, green: 0.776, blue: 0.996)
/* Android */
Color.parseColor("#dec6fe")
/* Flutter */
Color(0xFFDEC6FE)
/* Python / OpenCV (BGR) */
(254, 198, 222)

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

Accessibility — WCAG contrast

Aa
#dec6fe on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#dec6fe on black: 13.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BCCFFF
deuteranopia · #C0D0FC
tritanopia · #D9CED9

Color scale — 50 to 950

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

#F6F1FD
#EEE4FC
#dec6fe
#BF91FD
#9F5AFC
#7F22FB
#6904F1
#5803C9
#4603A0
#350774
#210448
Base = 200Lightest = 50 · #F6F1FDDarkest = 950 · #210448
:root {
  --brand-50: #F6F1FD;
  --brand-100: #EEE4FC;
  --brand-200: #dec6fe;
  --brand-300: #BF91FD;
  --brand-400: #9F5AFC;
  --brand-500: #7F22FB;
  --brand-600: #6904F1;
  --brand-700: #5803C9;
  --brand-800: #4603A0;
  --brand-900: #350774;
  --brand-950: #210448;
  --brand: #dec6fe;
  --brand-ink: #000000;
}

Colors that work with #dec6fe

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#D3C0ED
Hairlines and dividers
Muted text#6D4B9B
Captions on the surface
Accent#A9CC00
Second voice, not a rival
Dark variant#37027D
Hover, pressed, headers
Light variant#F0E6FF
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 #dec6fe

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#E6FEC6
Analogous left#C6CAFE
Analogous right#FAC6FE
Split-complement 1#FEFAC6
Split-complement 2#CAFEC6
Triadic 1#FEDEC6
Triadic 2#C6FEDE
Tetradic#FEC6CA

RGB percentages

Red87.1%
Green77.6%
Blue99.6%

CMYK percentages

Cyan12.6%
Magenta22.0%
Yellow0.0%
Key (black)0.4%

Color previews

#dec6fe text on a black background

contrast 13.61:1

Card sample

#dec6fe text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec6fe

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.

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

#dec6fe, answered

What color is #dec6fe?

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

What is the RGB value of #dec6fe?

rgb(222, 198, 254) — 222 red, 198 green and 254 blue out of 255, or 87.1% / 77.6% / 99.6% by channel.

Is #dec6fe a light or a dark color?

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

Should I use black or white text on #dec6fe?

Black. It scores 13.61:1 against #dec6fe, versus 1.54:1 for white — AAA at any size.

What is the complementary color of #dec6fe?

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

What colors go well with #dec6fe?

For interface work: #F7F4FA as the surface, #D3C0ED for borders, #6D4B9B for secondary text, #A9CC00 as an accent and #37027D for hover and pressed states. For a palette, the analogous pair #C6CAFE and #FAC6FE stays calm, while #E6FEC6 is the loudest partner.

What is #dec6fe in CMYK for printing?

cmyk(13%, 22%, 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 #dec6fe warm or cool?

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

Work with #dec6fe in the Color Lab