Skip to content

#cec3eb

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

RGB
206, 195, 235
HSL
257°, 50%, 84%
CMYK
12, 17, 0, 8
Luminance
0.5815

At a glance

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

Hex
#cec3eb
Hue
257°
violet
Saturation
50%
vivid
Lightness
84%
light
Brightness
92%
HSV value
Perceived
80%
weighted brightness
Luminance
0.5815
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
12.63:1
Closest name
Thistle
ΔE2000 6.8
Where it sits
Hue257° of 360°
Saturation50%
Lightness84%
Temperature
Warm ← → Cool74% 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#cec3eb
RGBrgb(206, 195, 235)
HSLhsl(257, 50%, 84%)
CMYKcmyk(12%, 17%, 0%, 8%)
LABlab(80.8 11.5 -18.4)
LCHlch(80.8 21.7 302.0)
OKLCHoklch(0.839 0.056 297.8)
Decimal13550571
Display P3color(display-p3 0.808 0.765 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec3eb on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cec3eb on black: 12.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BBC9ED
deuteranopia · #BDC8EA
tritanopia · #C9C9D0

Color scale — 50 to 950

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

#F6F4FA
#EDEAF6
#cec3eb
#BAABE3
#9881D5
#7657C7
#5F3DB8
#4F3399
#3F297A
#312159
#1E1538
Base = 200Lightest = 50 · #F6F4FADarkest = 950 · #1E1538
:root {
  --brand-50: #F6F4FA;
  --brand-100: #EDEAF6;
  --brand-200: #cec3eb;
  --brand-300: #BAABE3;
  --brand-400: #9881D5;
  --brand-500: #7657C7;
  --brand-600: #5F3DB8;
  --brand-700: #4F3399;
  --brand-800: #3F297A;
  --brand-900: #312159;
  --brand-950: #1E1538;
  --brand: #cec3eb;
  --brand-ink: #000000;
}

Colors that work with #cec3eb

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#CDC2EB
Hairlines and dividers
Muted text#614B9B
Captions on the surface
Accent#9B9E2E
Second voice, not a rival
Dark variant#312060
Hover, pressed, headers
Light variant#EFECF9
Selected rows, tints
Dark surface#181424
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 #cec3eb

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#E0EBC3
Analogous left#C3CCEB
Analogous right#E2C3EB
Split-complement 1#EBE2C3
Split-complement 2#CCEBC3
Triadic 1#EBCEC3
Triadic 2#C3EBCE
Tetradic#EBC3CC

RGB percentages

Red80.8%
Green76.5%
Blue92.2%

CMYK percentages

Cyan12.3%
Magenta17.0%
Yellow0.0%
Key (black)7.8%

Color previews

#cec3eb text on a black background

contrast 12.63:1

Card sample

#cec3eb text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec3eb

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.

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

#cec3eb, answered

What color is #cec3eb?

#cec3eb is a light vivid violet, closest to Thistle (ΔE2000 6.8). It sits at 257° on the hue wheel with 50% saturation and 84% lightness, which reads as cool.

What is the RGB value of #cec3eb?

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

Is #cec3eb a light or a dark color?

It is a light color. Relative luminance is 0.5815 and perceived brightness is 80%, so black text on it reaches 12.63:1.

Should I use black or white text on #cec3eb?

Black. It scores 12.63:1 against #cec3eb, versus 1.66:1 for white — AAA at any size.

What is the complementary color of #cec3eb?

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

What colors go well with #cec3eb?

For interface work: #F6F4FA as the surface, #CDC2EB for borders, #614B9B for secondary text, #9B9E2E as an accent and #312060 for hover and pressed states. For a palette, the analogous pair #C3CCEB and #E2C3EB stays calm, while #E0EBC3 is the loudest partner.

What is #cec3eb in CMYK for printing?

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

Is #cec3eb warm or cool?

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

Work with #cec3eb in the Color Lab