Skip to content

#ca95fc

a light, electric violet · warm · closest name: violet

RGB
202, 149, 252
HSL
271°, 95%, 79%
CMYK
20, 41, 0, 1
Luminance
0.4108

Every format

HEX#ca95fc
RGBrgb(202, 149, 252)
HSLhsl(271, 95%, 79%)
CMYKcmyk(20%, 41%, 0%, 1%)
LABlab(70.2 39.0 -43.9)
LCHlch(70.2 58.7 311.6)
OKLCHoklch(0.759 0.152 306.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ca95fc on white: 2.28:1
AA ✗ fail · AA-large · AAA
Aa
#ca95fc on black: 9.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green58.4%
Blue98.8%

CMYK percentages

Cyan19.8%
Magenta40.9%
Yellow0.0%
Key (black)1.2%

Color previews

#ca95fc text on a black background

contrast 9.22:1

Card sample

#ca95fc text on a white background

contrast 2.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ca95fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ca95fc in the Color Lab