Skip to content

#cac2f3

a pale, vivid blue · warm · closest name: lavender

RGB
202, 194, 243
HSL
250°, 67%, 86%
CMYK
17, 20, 0, 5
Luminance
0.5761

Every format

HEX#cac2f3
RGBrgb(202, 194, 243)
HSLhsl(250, 67%, 86%)
CMYKcmyk(17%, 20%, 0%, 5%)
LABlab(80.5 12.4 -23.2)
LCHlch(80.5 26.3 298.3)
OKLCHoklch(0.837 0.068 292.3)

Copy-ready code

/* CSS */
color: #cac2f3;
background-color: #cac2f3;
/* Tailwind (arbitrary) */
class="text-[#cac2f3] bg-[#cac2f3]"
/* SCSS */
$brand: #cac2f3;
/* SwiftUI */
Color(red: 0.792, green: 0.761, blue: 0.953)
/* Android */
Color.parseColor("#cac2f3")

Accessibility — WCAG contrast

Aa
#cac2f3 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cac2f3 on black: 12.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green76.1%
Blue95.3%

CMYK percentages

Cyan16.9%
Magenta20.2%
Yellow0.0%
Key (black)4.7%

Color previews

#cac2f3 text on a black background

contrast 12.52:1

Card sample

#cac2f3 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac2f3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac2f3 in the Color Lab