Skip to content

#dccaf1

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

RGB
220, 202, 241
HSL
268°, 58%, 87%
CMYK
9, 16, 0, 6
Luminance
0.6381

At a glance

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

Hex
#dccaf1
Hue
268°
violet
Saturation
58%
vivid
Lightness
87%
pale
Brightness
95%
HSV value
Perceived
83%
weighted brightness
Luminance
0.6381
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
13.76:1
Closest name
Thistle
ΔE2000 5.6
Where it sits
Hue268° of 360°
Saturation58%
Lightness87%
Temperature
Warm ← → Cool68% 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#dccaf1
RGBrgb(220, 202, 241)
HSLhsl(268, 58%, 87%)
CMYKcmyk(9%, 16%, 0%, 6%)
LABlab(83.9 13.4 -16.9)
LCHlch(83.9 21.6 308.5)
OKLCHoklch(0.866 0.057 306.1)
Decimal14469873
Display P3color(display-p3 0.863 0.792 0.945)

Copy-ready code

/* CSS */
color: #dccaf1;
background-color: #dccaf1;
/* Tailwind (arbitrary) */
class="text-[#dccaf1] bg-[#dccaf1]"
/* SCSS */
$brand: #dccaf1;
/* SwiftUI */
Color(red: 0.863, green: 0.792, blue: 0.945)
/* Android */
Color.parseColor("#dccaf1")
/* Flutter */
Color(0xFFDCCAF1)
/* Python / OpenCV (BGR) */
(241, 202, 220)

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

Accessibility — WCAG contrast

Aa
#dccaf1 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#dccaf1 on black: 13.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C4D0F3
deuteranopia · #C7D1F0
tritanopia · #D9CFD7

Color scale — 50 to 950

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

#F7F4FB
#EFE9F7
#dccaf1
#C4A6E8
#A77ADC
#8A4DD0
#7533C2
#612BA1
#4E2281
#3B1C5E
#25123B
Base = 200Lightest = 50 · #F7F4FBDarkest = 950 · #25123B
:root {
  --brand-50: #F7F4FB;
  --brand-100: #EFE9F7;
  --brand-200: #dccaf1;
  --brand-300: #C4A6E8;
  --brand-400: #A77ADC;
  --brand-500: #8A4DD0;
  --brand-600: #7533C2;
  --brand-700: #612BA1;
  --brand-800: #4E2281;
  --brand-900: #3B1C5E;
  --brand-950: #25123B;
  --brand: #dccaf1;
  --brand-ink: #000000;
}

Colors that work with #dccaf1

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#D4C0ED
Hairlines and dividers
Muted text#704B9B
Captions on the surface
Accent#8CA428
Second voice, not a rival
Dark variant#3D1B65
Hover, pressed, headers
Light variant#F2EBFA
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 #dccaf1

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#DFF1CA
Analogous left#CACCF1
Analogous right#F0CAF1
Split-complement 1#F1F0CA
Split-complement 2#CCF1CA
Triadic 1#F1DCCA
Triadic 2#CAF1DC
Tetradic#F1CACC

RGB percentages

Red86.3%
Green79.2%
Blue94.5%

CMYK percentages

Cyan8.7%
Magenta16.2%
Yellow0.0%
Key (black)5.5%

Color previews

#dccaf1 text on a black background

contrast 13.76:1

Card sample

#dccaf1 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dccaf1

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.

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

#dccaf1, answered

What color is #dccaf1?

#dccaf1 is a pale vivid violet, closest to Thistle (ΔE2000 5.6). It sits at 268° on the hue wheel with 58% saturation and 87% lightness, which reads as cool.

What is the RGB value of #dccaf1?

rgb(220, 202, 241) — 220 red, 202 green and 241 blue out of 255, or 86.3% / 79.2% / 94.5% by channel.

Is #dccaf1 a light or a dark color?

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

Should I use black or white text on #dccaf1?

Black. It scores 13.76:1 against #dccaf1, versus 1.53:1 for white — AAA at any size.

What is the complementary color of #dccaf1?

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

What colors go well with #dccaf1?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #704B9B for secondary text, #8CA428 as an accent and #3D1B65 for hover and pressed states. For a palette, the analogous pair #CACCF1 and #F0CAF1 stays calm, while #DFF1CA is the loudest partner.

What is #dccaf1 in CMYK for printing?

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

Is #dccaf1 warm or cool?

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

Work with #dccaf1 in the Color Lab