Skip to content

#cec3df

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

RGB
206, 195, 223
HSL
264°, 30%, 82%
CMYK
8, 13, 0, 13
Luminance
0.5748

At a glance

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

Hex
#cec3df
Hue
264°
violet
Saturation
30%
soft
Lightness
82%
light
Brightness
87%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5748
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
12.50:1
Closest name
Thistle
ΔE2000 4.8
Where it sits
Hue264° of 360°
Saturation30%
Lightness82%
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#cec3df
RGBrgb(206, 195, 223)
HSLhsl(264, 30%, 82%)
CMYKcmyk(8%, 13%, 0%, 13%)
LABlab(80.5 9.1 -12.5)
LCHlch(80.5 15.5 305.9)
OKLCHoklch(0.835 0.040 303.3)
Decimal13550559
Display P3color(display-p3 0.808 0.765 0.875)

Copy-ready code

/* CSS */
color: #cec3df;
background-color: #cec3df;
/* Tailwind (arbitrary) */
class="text-[#cec3df] bg-[#cec3df]"
/* SCSS */
$brand: #cec3df;
/* SwiftUI */
Color(red: 0.808, green: 0.765, blue: 0.875)
/* Android */
Color.parseColor("#cec3df")
/* Flutter */
Color(0xFFCEC3DF)
/* Python / OpenCV (BGR) */
(223, 195, 206)

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

Accessibility — WCAG contrast

Aa
#cec3df on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cec3df on black: 12.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BEC7E0
deuteranopia · #C0C8DE
tritanopia · #CCC7CC

Color scale — 50 to 950

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

#F7F6F9
#EFECF3
#DCD5E7
#cec3df
#A591C4
#886DB1
#7255A0
#5F4785
#4C396A
#3A2C4E
#241C31
Base = 300Lightest = 50 · #F7F6F9Darkest = 950 · #241C31
:root {
  --brand-50: #F7F6F9;
  --brand-100: #EFECF3;
  --brand-200: #DCD5E7;
  --brand-300: #cec3df;
  --brand-400: #A591C4;
  --brand-500: #886DB1;
  --brand-600: #7255A0;
  --brand-700: #5F4785;
  --brand-800: #4C396A;
  --brand-900: #3A2C4E;
  --brand-950: #241C31;
  --brand: #cec3df;
  --brand-ink: #000000;
}

Colors that work with #cec3df

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#F7F5FA
Tinted page background
Border#D4CAE3
Hairlines and dividers
Muted text#6B5096
Captions on the surface
Accent#7E8943
Second voice, not a rival
Dark variant#3C2C53
Hover, pressed, headers
Light variant#F1EEF6
Selected rows, tints
Dark surface#1A1424
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 #cec3df

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#D4DFC3
Analogous left#C3C6DF
Analogous right#DCC3DF
Split-complement 1#DFDCC3
Split-complement 2#C6DFC3
Triadic 1#DFCEC3
Triadic 2#C3DFCE
Tetradic#DFC3C6

RGB percentages

Red80.8%
Green76.5%
Blue87.5%

CMYK percentages

Cyan7.6%
Magenta12.6%
Yellow0.0%
Key (black)12.5%

Color previews

#cec3df text on a black background

contrast 12.50:1

Card sample

#cec3df text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec3df

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.

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

#cec3df, answered

What color is #cec3df?

#cec3df is a light soft violet, closest to Thistle (ΔE2000 4.8). It sits at 264° on the hue wheel with 30% saturation and 82% lightness, which reads as cool.

What is the RGB value of #cec3df?

rgb(206, 195, 223) — 206 red, 195 green and 223 blue out of 255, or 80.8% / 76.5% / 87.5% by channel.

Is #cec3df a light or a dark color?

It is a light color. Relative luminance is 0.5748 and perceived brightness is 79%, so black text on it reaches 12.50:1.

Should I use black or white text on #cec3df?

Black. It scores 12.50:1 against #cec3df, versus 1.68:1 for white — AAA at any size.

What is the complementary color of #cec3df?

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

What colors go well with #cec3df?

For interface work: #F7F5FA as the surface, #D4CAE3 for borders, #6B5096 for secondary text, #7E8943 as an accent and #3C2C53 for hover and pressed states. For a palette, the analogous pair #C3C6DF and #DCC3DF stays calm, while #D4DFC3 is the loudest partner.

What is #cec3df in CMYK for printing?

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

Is #cec3df 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 #D8C3DF; nudged cooler, #C3C2E0.

Work with #cec3df in the Color Lab