Skip to content

#dec3f1

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

RGB
222, 195, 241
HSL
275°, 62%, 86%
CMYK
8, 19, 0, 6
Luminance
0.6091

At a glance

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

Hex
#dec3f1
Hue
275°
violet
Saturation
62%
vivid
Lightness
86%
pale
Brightness
95%
HSV value
Perceived
82%
weighted brightness
Luminance
0.6091
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
13.18:1
Closest name
Thistle
ΔE2000 6.3
Where it sits
Hue275° of 360°
Saturation62%
Lightness86%
Temperature
Warm ← → Cool64% 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#dec3f1
RGBrgb(222, 195, 241)
HSLhsl(275, 62%, 86%)
CMYKcmyk(8%, 19%, 0%, 6%)
LABlab(82.3 17.8 -19.2)
LCHlch(82.3 26.2 312.9)
OKLCHoklch(0.855 0.069 311.2)
Decimal14599153
Display P3color(display-p3 0.871 0.765 0.945)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dec3f1 on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#dec3f1 on black: 13.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BCCBF3
deuteranopia · #C2CDEF
tritanopia · #DCC8D3

Color scale — 50 to 950

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

#F8F4FB
#F1E8F7
#dec3f1
#CDA4EA
#B477DF
#9B49D5
#882EC7
#7127A5
#5A1F84
#431A60
#2A103C
Base = 200Lightest = 50 · #F8F4FBDarkest = 950 · #2A103C
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F1E8F7;
  --brand-200: #dec3f1;
  --brand-300: #CDA4EA;
  --brand-400: #B477DF;
  --brand-500: #9B49D5;
  --brand-600: #882EC7;
  --brand-700: #7127A5;
  --brand-800: #5A1F84;
  --brand-900: #431A60;
  --brand-950: #2A103C;
  --brand: #dec3f1;
  --brand-ink: #000000;
}

Colors that work with #dec3f1

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#F8F4FA
Tinted page background
Border#DAC0ED
Hairlines and dividers
Muted text#7A4B9B
Captions on the surface
Accent#7BAA22
Second voice, not a rival
Dark variant#471867
Hover, pressed, headers
Light variant#F4EAFA
Selected rows, tints
Dark surface#1E1424
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 #dec3f1

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#D6F1C3
Analogous left#C7C3F1
Analogous right#F1C3ED
Split-complement 1#EDF1C3
Split-complement 2#C3F1C7
Triadic 1#F1DEC3
Triadic 2#C3F1DE
Tetradic#F1C7C3

RGB percentages

Red87.1%
Green76.5%
Blue94.5%

CMYK percentages

Cyan7.9%
Magenta19.1%
Yellow0.0%
Key (black)5.5%

Color previews

#dec3f1 text on a black background

contrast 13.18:1

Card sample

#dec3f1 text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dec3f1

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.

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

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#dec3f1, answered

What color is #dec3f1?

#dec3f1 is a pale vivid violet, closest to Thistle (ΔE2000 6.3). It sits at 275° on the hue wheel with 62% saturation and 86% lightness, which reads as cool.

What is the RGB value of #dec3f1?

rgb(222, 195, 241) — 222 red, 195 green and 241 blue out of 255, or 87.1% / 76.5% / 94.5% by channel.

Is #dec3f1 a light or a dark color?

It is a light color. Relative luminance is 0.6091 and perceived brightness is 82%, so black text on it reaches 13.18:1.

Should I use black or white text on #dec3f1?

Black. It scores 13.18:1 against #dec3f1, versus 1.59:1 for white — AAA at any size.

What is the complementary color of #dec3f1?

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

What colors go well with #dec3f1?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #7A4B9B for secondary text, #7BAA22 as an accent and #471867 for hover and pressed states. For a palette, the analogous pair #C7C3F1 and #F1C3ED stays calm, while #D6F1C3 is the loudest partner.

What is #dec3f1 in CMYK for printing?

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

Is #dec3f1 warm or cool?

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

Work with #dec3f1 in the Color Lab