Skip to content

#cec2f2

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

RGB
206, 194, 242
HSL
255°, 65%, 86%
CMYK
15, 20, 0, 5
Luminance
0.5812

At a glance

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

Hex
#cec2f2
Hue
255°
violet
Saturation
65%
vivid
Lightness
86%
pale
Brightness
95%
HSV value
Perceived
80%
weighted brightness
Luminance
0.5812
WCAG relative
Temperature
Cool
75/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
12.62:1
Closest name
Thistle
ΔE2000 8.4
Where it sits
Hue255° of 360°
Saturation65%
Lightness86%
Temperature
Warm ← → Cool75% 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#cec2f2
RGBrgb(206, 194, 242)
HSLhsl(255, 65%, 86%)
CMYKcmyk(15%, 20%, 0%, 5%)
LABlab(80.8 13.5 -22.2)
LCHlch(80.8 26.0 301.3)
OKLCHoklch(0.840 0.067 296.4)
Decimal13550322
Display P3color(display-p3 0.808 0.761 0.949)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cec2f2 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cec2f2 on black: 12.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B8C9F4
deuteranopia · #BAC8F1
tritanopia · #C8C9D2

Color scale — 50 to 950

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

#F5F3FB
#ECE8F7
#cec2f2
#B5A2EB
#9074E1
#6A46D8
#532BCA
#4524A8
#371D87
#2B1962
#1B0F3D
Base = 200Lightest = 50 · #F5F3FBDarkest = 950 · #1B0F3D
:root {
  --brand-50: #F5F3FB;
  --brand-100: #ECE8F7;
  --brand-200: #cec2f2;
  --brand-300: #B5A2EB;
  --brand-400: #9074E1;
  --brand-500: #6A46D8;
  --brand-600: #532BCA;
  --brand-700: #4524A8;
  --brand-800: #371D87;
  --brand-900: #2B1962;
  --brand-950: #1B0F3D;
  --brand: #cec2f2;
  --brand-ink: #000000;
}

Colors that work with #cec2f2

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#CBC0ED
Hairlines and dividers
Muted text#5F4B9B
Captions on the surface
Accent#ADAD1F
Second voice, not a rival
Dark variant#2B1669
Hover, pressed, headers
Light variant#EEEAFB
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 #cec2f2

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#E6F2C2
Analogous left#C2CEF2
Analogous right#E6C2F2
Split-complement 1#F2E6C2
Split-complement 2#CEF2C2
Triadic 1#F2CEC2
Triadic 2#C2F2CE
Tetradic#F2C2CE

RGB percentages

Red80.8%
Green76.1%
Blue94.9%

CMYK percentages

Cyan14.9%
Magenta19.8%
Yellow0.0%
Key (black)5.1%

Color previews

#cec2f2 text on a black background

contrast 12.62:1

Card sample

#cec2f2 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cec2f2

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.

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

#cec2f2, answered

What color is #cec2f2?

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

What is the RGB value of #cec2f2?

rgb(206, 194, 242) — 206 red, 194 green and 242 blue out of 255, or 80.8% / 76.1% / 94.9% by channel.

Is #cec2f2 a light or a dark color?

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

Should I use black or white text on #cec2f2?

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

What is the complementary color of #cec2f2?

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

What colors go well with #cec2f2?

For interface work: #F6F4FA as the surface, #CBC0ED for borders, #5F4B9B for secondary text, #ADAD1F as an accent and #2B1669 for hover and pressed states. For a palette, the analogous pair #C2CEF2 and #E6C2F2 stays calm, while #E6F2C2 is the loudest partner.

What is #cec2f2 in CMYK for printing?

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

Is #cec2f2 warm or cool?

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

Work with #cec2f2 in the Color Lab