Skip to content

#ccc2e7

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

RGB
204, 194, 231
HSL
256°, 44%, 83%
CMYK
12, 16, 0, 9
Luminance
0.5719

At a glance

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

Hex
#ccc2e7
Hue
256°
violet
Saturation
44%
soft
Lightness
83%
light
Brightness
91%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5719
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
12.44:1
Closest name
Thistle
ΔE2000 6.4
Where it sits
Hue256° of 360°
Saturation44%
Lightness83%
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#ccc2e7
RGBrgb(204, 194, 231)
HSLhsl(256, 44%, 83%)
CMYKcmyk(12%, 16%, 0%, 9%)
LABlab(80.3 10.6 -17.1)
LCHlch(80.3 20.1 301.7)
OKLCHoklch(0.834 0.052 297.6)
Decimal13419239
Display P3color(display-p3 0.800 0.761 0.906)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc2e7 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#ccc2e7 on black: 12.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BBC7E9
deuteranopia · #BCC7E6
tritanopia · #C7C7CE

Color scale — 50 to 950

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

#F6F5FA
#EDEBF5
#ccc2e7
#BCAEDF
#9A86CF
#785EC0
#6245B0
#523A92
#412E75
#322556
#1F1736
Base = 200Lightest = 50 · #F6F5FADarkest = 950 · #1F1736
:root {
  --brand-50: #F6F5FA;
  --brand-100: #EDEBF5;
  --brand-200: #ccc2e7;
  --brand-300: #BCAEDF;
  --brand-400: #9A86CF;
  --brand-500: #785EC0;
  --brand-600: #6245B0;
  --brand-700: #523A92;
  --brand-800: #412E75;
  --brand-900: #322556;
  --brand-950: #1F1736;
  --brand: #ccc2e7;
  --brand-ink: #000000;
}

Colors that work with #ccc2e7

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#CEC4E8
Hairlines and dividers
Muted text#604B9B
Captions on the surface
Accent#959735
Second voice, not a rival
Dark variant#33245B
Hover, pressed, headers
Light variant#F0EDF8
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 #ccc2e7

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#DDE7C2
Analogous left#C2CAE7
Analogous right#DEC2E7
Split-complement 1#E7DEC2
Split-complement 2#CAE7C2
Triadic 1#E7CCC2
Triadic 2#C2E7CC
Tetradic#E7C2CA

RGB percentages

Red80.0%
Green76.1%
Blue90.6%

CMYK percentages

Cyan11.7%
Magenta16.0%
Yellow0.0%
Key (black)9.4%

Color previews

#ccc2e7 text on a black background

contrast 12.44:1

Card sample

#ccc2e7 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc2e7

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.

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

#ccc2e7, answered

What color is #ccc2e7?

#ccc2e7 is a light soft violet, closest to Thistle (ΔE2000 6.4). It sits at 256° on the hue wheel with 44% saturation and 83% lightness, which reads as cool.

What is the RGB value of #ccc2e7?

rgb(204, 194, 231) — 204 red, 194 green and 231 blue out of 255, or 80% / 76.1% / 90.6% by channel.

Is #ccc2e7 a light or a dark color?

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

Should I use black or white text on #ccc2e7?

Black. It scores 12.44:1 against #ccc2e7, versus 1.69:1 for white — AAA at any size.

What is the complementary color of #ccc2e7?

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

What colors go well with #ccc2e7?

For interface work: #F6F4FA as the surface, #CEC4E8 for borders, #604B9B for secondary text, #959735 as an accent and #33245B for hover and pressed states. For a palette, the analogous pair #C2CAE7 and #DEC2E7 stays calm, while #DDE7C2 is the loudest partner.

What is #ccc2e7 in CMYK for printing?

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

Is #ccc2e7 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 #D9C2E7; nudged cooler, #C1C5E8.

Work with #ccc2e7 in the Color Lab