Skip to content

#ccafd9

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

RGB
204, 175, 217
HSL
281°, 36%, 77%
CMYK
6, 19, 0, 15
Luminance
0.4851

At a glance

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

Hex
#ccafd9
Hue
281°
violet
Saturation
36%
soft
Lightness
77%
light
Brightness
85%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4851
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
10.70:1
Closest name
Thistle
ΔE2000 6.2
Where it sits
Hue281° of 360°
Saturation36%
Lightness77%
Temperature
Warm ← → Cool60% 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#ccafd9
RGBrgb(204, 175, 217)
HSLhsl(281, 36%, 77%)
CMYKcmyk(6%, 19%, 0%, 15%)
LABlab(75.1 18.0 -17.3)
LCHlch(75.1 25.0 316.2)
OKLCHoklch(0.793 0.066 315.4)
Decimal13414361
Display P3color(display-p3 0.800 0.686 0.851)

Copy-ready code

/* CSS */
color: #ccafd9;
background-color: #ccafd9;
/* Tailwind (arbitrary) */
class="text-[#ccafd9] bg-[#ccafd9]"
/* SCSS */
$brand: #ccafd9;
/* SwiftUI */
Color(red: 0.800, green: 0.686, blue: 0.851)
/* Android */
Color.parseColor("#ccafd9")
/* Flutter */
Color(0xFFCCAFD9)
/* Python / OpenCV (BGR) */
(217, 175, 204)

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

Accessibility — WCAG contrast

Aa
#ccafd9 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#ccafd9 on black: 10.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AAB7DB
deuteranopia · #B0BAD8
tritanopia · #CCB4BD

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ccafd9 is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F5F9
#F1EBF4
#E2D3E8
#ccafd9
#B68DC9
#9E67B7
#8B4FA6
#74428A
#5D356F
#452951
#2B1A33
Base = 300Lightest = 50 · #F8F5F9Darkest = 950 · #2B1A33
:root {
  --brand-50: #F8F5F9;
  --brand-100: #F1EBF4;
  --brand-200: #E2D3E8;
  --brand-300: #ccafd9;
  --brand-400: #B68DC9;
  --brand-500: #9E67B7;
  --brand-600: #8B4FA6;
  --brand-700: #74428A;
  --brand-800: #5D356F;
  --brand-900: #452951;
  --brand-950: #2B1A33;
  --brand: #ccafd9;
  --brand-ink: #000000;
}

Colors that work with #ccafd9

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#F8F5FA
Tinted page background
Border#DCC8E5
Hairlines and dividers
Muted text#824B9B
Captions on the surface
Accent#6B8E3E
Second voice, not a rival
Dark variant#482956
Hover, pressed, headers
Light variant#F4EEF7
Selected rows, tints
Dark surface#1F1424
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 #ccafd9

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#BCD9AF
Analogous left#B7AFD9
Analogous right#D9AFD1
Split-complement 1#D1D9AF
Split-complement 2#AFD9B7
Triadic 1#D9CCAF
Triadic 2#AFD9CC
Tetradic#D9B7AF

RGB percentages

Red80.0%
Green68.6%
Blue85.1%

CMYK percentages

Cyan6.0%
Magenta19.4%
Yellow0.0%
Key (black)14.9%

Color previews

#ccafd9 text on a black background

contrast 10.70:1

Card sample

#ccafd9 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 175, 217, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 175, 217, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccafd9;
background: linear-gradient(135deg, #ccafd9, #D9AFCA);

Monochromatic scale

Palettes built from #ccafd9

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.

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

#ccafd9, answered

What color is #ccafd9?

#ccafd9 is a light soft violet, closest to Thistle (ΔE2000 6.2). It sits at 281° on the hue wheel with 36% saturation and 77% lightness, which reads as cool.

What is the RGB value of #ccafd9?

rgb(204, 175, 217) — 204 red, 175 green and 217 blue out of 255, or 80% / 68.6% / 85.1% by channel.

Is #ccafd9 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4851 and perceived brightness is 74%, so black text on it reaches 10.70:1.

Should I use black or white text on #ccafd9?

Black. It scores 10.70:1 against #ccafd9, versus 1.96:1 for white — AAA at any size.

What is the complementary color of #ccafd9?

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

What colors go well with #ccafd9?

For interface work: #F8F5FA as the surface, #DCC8E5 for borders, #824B9B for secondary text, #6B8E3E as an accent and #482956 for hover and pressed states. For a palette, the analogous pair #B7AFD9 and #D9AFD1 stays calm, while #BCD9AF is the loudest partner.

What is #ccafd9 in CMYK for printing?

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

Is #ccafd9 warm or cool?

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

Work with #ccafd9 in the Color Lab