Skip to content

#decffe

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

RGB
222, 207, 254
HSL
259°, 96%, 90%
CMYK
13, 19, 0, 0
Luminance
0.6731

At a glance

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

Hex
#decffe
Hue
259°
violet
Saturation
96%
electric
Lightness
90%
pale
Brightness
100%
HSV value
Perceived
85%
weighted brightness
Luminance
0.6731
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
14.46:1
Closest name
Thistle
ΔE2000 8.4
Where it sits
Hue259° of 360°
Saturation96%
Lightness90%
Temperature
Warm ← → Cool73% 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#decffe
RGBrgb(222, 207, 254)
HSLhsl(259, 96%, 90%)
CMYKcmyk(13%, 19%, 0%, 0%)
LABlab(85.7 14.0 -21.1)
LCHlch(85.7 25.3 303.6)
OKLCHoklch(0.882 0.066 299.6)
Decimal14602238
Display P3color(display-p3 0.871 0.812 0.996)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decffe on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#decffe on black: 14.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C6D6FF
deuteranopia · #C8D6FD
tritanopia · #D9D6DF

Color scale — 50 to 950

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

#F5F1FD
#EBE4FC
#decffe
#B391FD
#8E5AFC
#6823FA
#5005F0
#4204C8
#3503A0
#2A0773
#1A0548
Base = 200Lightest = 50 · #F5F1FDDarkest = 950 · #1A0548
:root {
  --brand-50: #F5F1FD;
  --brand-100: #EBE4FC;
  --brand-200: #decffe;
  --brand-300: #B391FD;
  --brand-400: #8E5AFC;
  --brand-500: #6823FA;
  --brand-600: #5005F0;
  --brand-700: #4204C8;
  --brand-800: #3503A0;
  --brand-900: #2A0773;
  --brand-950: #1A0548;
  --brand: #decffe;
  --brand-ink: #000000;
}

Colors that work with #decffe

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#F6F4FA
Tinted page background
Border#CEC0ED
Hairlines and dividers
Muted text#644B9B
Captions on the surface
Accent#BFCC00
Second voice, not a rival
Dark variant#2A037D
Hover, pressed, headers
Light variant#EEE6FE
Selected rows, tints
Dark surface#191424
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 #decffe

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#EFFECF
Analogous left#CFD8FE
Analogous right#F5CFFE
Split-complement 1#FEF5CF
Split-complement 2#D8FECF
Triadic 1#FEDECF
Triadic 2#CFFEDE
Tetradic#FECFD8

RGB percentages

Red87.1%
Green81.2%
Blue99.6%

CMYK percentages

Cyan12.6%
Magenta18.5%
Yellow0.0%
Key (black)0.4%

Color previews

#decffe text on a black background

contrast 14.46:1

Card sample

#decffe text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decffe

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.

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

#decffe, answered

What color is #decffe?

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

What is the RGB value of #decffe?

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

Is #decffe a light or a dark color?

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

Should I use black or white text on #decffe?

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

What is the complementary color of #decffe?

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

What colors go well with #decffe?

For interface work: #F6F4FA as the surface, #CEC0ED for borders, #644B9B for secondary text, #BFCC00 as an accent and #2A037D for hover and pressed states. For a palette, the analogous pair #CFD8FE and #F5CFFE stays calm, while #EFFECF is the loudest partner.

What is #decffe in CMYK for printing?

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

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

Work with #decffe in the Color Lab