Skip to content

#c7c2ec

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

RGB
199, 194, 236
HSL
247°, 53%, 84%
CMYK
16, 18, 0, 8
Luminance
0.5678

At a glance

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

Hex
#c7c2ec
Hue
247°
blue
Saturation
53%
vivid
Lightness
84%
light
Brightness
93%
HSV value
Perceived
79%
weighted brightness
Luminance
0.5678
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
12.36:1
Closest name
Thistle
ΔE2000 8.7
Where it sits
Hue247° of 360°
Saturation53%
Lightness84%
Temperature
Warm ← → Cool79% 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#c7c2ec
RGBrgb(199, 194, 236)
HSLhsl(247, 53%, 84%)
CMYKcmyk(16%, 18%, 0%, 8%)
LABlab(80.1 10.0 -20.1)
LCHlch(80.1 22.5 296.4)
OKLCHoklch(0.832 0.059 290.5)
Decimal13091564
Display P3color(display-p3 0.780 0.761 0.925)

Copy-ready code

/* CSS */
color: #c7c2ec;
background-color: #c7c2ec;
/* Tailwind (arbitrary) */
class="text-[#c7c2ec] bg-[#c7c2ec]"
/* SCSS */
$brand: #c7c2ec;
/* SwiftUI */
Color(red: 0.780, green: 0.761, blue: 0.925)
/* Android */
Color.parseColor("#c7c2ec")
/* Flutter */
Color(0xFFC7C2EC)
/* Python / OpenCV (BGR) */
(236, 194, 199)

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

Accessibility — WCAG contrast

Aa
#c7c2ec on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#c7c2ec on black: 12.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B9C7EE
deuteranopia · #B9C6EB
tritanopia · #C0C9D0

Color scale — 50 to 950

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

#F5F4FA
#EBE9F6
#c7c2ec
#B0A9E4
#897FD7
#6254CA
#493ABB
#3D309C
#31277C
#27205B
#181439
Base = 200Lightest = 50 · #F5F4FADarkest = 950 · #181439
:root {
  --brand-50: #F5F4FA;
  --brand-100: #EBE9F6;
  --brand-200: #c7c2ec;
  --brand-300: #B0A9E4;
  --brand-400: #897FD7;
  --brand-500: #6254CA;
  --brand-600: #493ABB;
  --brand-700: #3D309C;
  --brand-800: #31277C;
  --brand-900: #27205B;
  --brand-950: #181439;
  --brand: #c7c2ec;
  --brand-ink: #000000;
}

Colors that work with #c7c2ec

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#F5F4FA
Tinted page background
Border#C6C1EC
Hairlines and dividers
Muted text#544B9B
Captions on the surface
Accent#A1912B
Second voice, not a rival
Dark variant#261E61
Hover, pressed, headers
Light variant#EDECF9
Selected rows, tints
Dark surface#161424
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 #c7c2ec

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#E7ECC2
Analogous left#C2D2EC
Analogous right#DCC2EC
Split-complement 1#ECDCC2
Split-complement 2#D2ECC2
Triadic 1#ECC7C2
Triadic 2#C2ECC7
Tetradic#ECC2D2

RGB percentages

Red78.0%
Green76.1%
Blue92.5%

CMYK percentages

Cyan15.7%
Magenta17.8%
Yellow0.0%
Key (black)7.5%

Color previews

#c7c2ec text on a black background

contrast 12.36:1

Card sample

#c7c2ec text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c7c2ec

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.

#c7c2ec in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#c7c2ec, answered

What color is #c7c2ec?

#c7c2ec is a light vivid blue, closest to Thistle (ΔE2000 8.7). It sits at 247° on the hue wheel with 53% saturation and 84% lightness, which reads as cool.

What is the RGB value of #c7c2ec?

rgb(199, 194, 236) — 199 red, 194 green and 236 blue out of 255, or 78% / 76.1% / 92.5% by channel.

Is #c7c2ec a light or a dark color?

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

Should I use black or white text on #c7c2ec?

Black. It scores 12.36:1 against #c7c2ec, versus 1.70:1 for white — AAA at any size.

What is the complementary color of #c7c2ec?

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

What colors go well with #c7c2ec?

For interface work: #F5F4FA as the surface, #C6C1EC for borders, #544B9B for secondary text, #A1912B as an accent and #261E61 for hover and pressed states. For a palette, the analogous pair #C2D2EC and #DCC2EC stays calm, while #E7ECC2 is the loudest partner.

What is #c7c2ec in CMYK for printing?

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

Is #c7c2ec warm or cool?

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

Work with #c7c2ec in the Color Lab