Skip to content

#cac7f4

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

RGB
202, 199, 244
HSL
244°, 67%, 87%
CMYK
17, 18, 0, 4
Luminance
0.5994

At a glance

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

Hex
#cac7f4
Hue
244°
blue
Saturation
67%
vivid
Lightness
87%
pale
Brightness
96%
HSV value
Perceived
81%
weighted brightness
Luminance
0.5994
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
12.99:1
Closest name
Thistle
ΔE2000 9.8
Where it sits
Hue244° of 360°
Saturation67%
Lightness87%
Temperature
Warm ← → Cool81% 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#cac7f4
RGBrgb(202, 199, 244)
HSLhsl(244, 67%, 87%)
CMYKcmyk(17%, 18%, 0%, 4%)
LABlab(81.8 10.0 -21.8)
LCHlch(81.8 23.9 294.6)
OKLCHoklch(0.847 0.062 288.0)
Decimal13289460
Display P3color(display-p3 0.792 0.780 0.957)

Copy-ready code

/* CSS */
color: #cac7f4;
background-color: #cac7f4;
/* Tailwind (arbitrary) */
class="text-[#cac7f4] bg-[#cac7f4]"
/* SCSS */
$brand: #cac7f4;
/* SwiftUI */
Color(red: 0.792, green: 0.780, blue: 0.957)
/* Android */
Color.parseColor("#cac7f4")
/* Flutter */
Color(0xFFCAC7F4)
/* Python / OpenCV (BGR) */
(244, 199, 202)

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

Accessibility — WCAG contrast

Aa
#cac7f4 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#cac7f4 on black: 12.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BCCCF6
deuteranopia · #BCCAF3
tritanopia · #C1CED6

Color scale — 50 to 950

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

#F4F3FB
#E9E8F8
#cac7f4
#A6A1ED
#7A72E3
#4D43DA
#3328CD
#2B21AB
#221B88
#1C1763
#120F3E
Base = 200Lightest = 50 · #F4F3FBDarkest = 950 · #120F3E
:root {
  --brand-50: #F4F3FB;
  --brand-100: #E9E8F8;
  --brand-200: #cac7f4;
  --brand-300: #A6A1ED;
  --brand-400: #7A72E3;
  --brand-500: #4D43DA;
  --brand-600: #3328CD;
  --brand-700: #2B21AB;
  --brand-800: #221B88;
  --brand-900: #1C1763;
  --brand-950: #120F3E;
  --brand: #cac7f4;
  --brand-ink: #000000;
}

Colors that work with #cac7f4

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#C3C0ED
Hairlines and dividers
Muted text#504B9B
Captions on the surface
Accent#AE951E
Second voice, not a rival
Dark variant#1B156B
Hover, pressed, headers
Light variant#EBEAFB
Selected rows, tints
Dark surface#151424
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 #cac7f4

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#F1F4C7
Analogous left#C7DBF4
Analogous right#E1C7F4
Split-complement 1#F4E1C7
Split-complement 2#DBF4C7
Triadic 1#F4CAC7
Triadic 2#C7F4CA
Tetradic#F4C7DB

RGB percentages

Red79.2%
Green78.0%
Blue95.7%

CMYK percentages

Cyan17.2%
Magenta18.4%
Yellow0.0%
Key (black)4.3%

Color previews

#cac7f4 text on a black background

contrast 12.99:1

Card sample

#cac7f4 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac7f4

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.

#cac7f4 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

Very light tints can drop out on uncoated stock; check it at 100% size before signing off.

#cac7f4, answered

What color is #cac7f4?

#cac7f4 is a pale vivid blue, closest to Thistle (ΔE2000 9.8). It sits at 244° on the hue wheel with 67% saturation and 87% lightness, which reads as cool.

What is the RGB value of #cac7f4?

rgb(202, 199, 244) — 202 red, 199 green and 244 blue out of 255, or 79.2% / 78% / 95.7% by channel.

Is #cac7f4 a light or a dark color?

It is a light color. Relative luminance is 0.5994 and perceived brightness is 81%, so black text on it reaches 12.99:1.

Should I use black or white text on #cac7f4?

Black. It scores 12.99:1 against #cac7f4, versus 1.62:1 for white — AAA at any size.

What is the complementary color of #cac7f4?

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

What colors go well with #cac7f4?

For interface work: #F5F4FA as the surface, #C3C0ED for borders, #504B9B for secondary text, #AE951E as an accent and #1B156B for hover and pressed states. For a palette, the analogous pair #C7DBF4 and #E1C7F4 stays calm, while #F1F4C7 is the loudest partner.

What is #cac7f4 in CMYK for printing?

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

Is #cac7f4 warm or cool?

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

Work with #cac7f4 in the Color Lab