Skip to content

#cbafe4

a light, vivid violet · warm · closest name: plum

RGB
203, 175, 228
HSL
272°, 50%, 79%
CMYK
11, 23, 0, 11
Luminance
0.4896

Every format

HEX#cbafe4
RGBrgb(203, 175, 228)
HSLhsl(272, 50%, 79%)
CMYKcmyk(11%, 23%, 0%, 11%)
LABlab(75.4 19.9 -22.8)
LCHlch(75.4 30.3 311.1)
OKLCHoklch(0.796 0.080 308.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbafe4 on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#cbafe4 on black: 10.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green68.6%
Blue89.4%

CMYK percentages

Cyan11.0%
Magenta23.2%
Yellow0.0%
Key (black)10.6%

Color previews

#cbafe4 text on a black background

contrast 10.79:1

Card sample

#cbafe4 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 175, 228, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 175, 228, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbafe4;
background: linear-gradient(135deg, #cbafe4, #E4AFDA);

Monochromatic scale

Palettes built from #cbafe4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbafe4 in the Color Lab