Skip to content

#cbaff4

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

RGB
203, 175, 244
HSL
264°, 76%, 82%
CMYK
17, 28, 0, 4
Luminance
0.4989

Every format

HEX#cbaff4
RGBrgb(203, 175, 244)
HSLhsl(264, 76%, 82%)
CMYKcmyk(17%, 28%, 0%, 4%)
LABlab(76.0 23.3 -30.6)
LCHlch(76.0 38.5 307.3)
OKLCHoklch(0.802 0.100 302.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbaff4 on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#cbaff4 on black: 10.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green68.6%
Blue95.7%

CMYK percentages

Cyan16.8%
Magenta28.3%
Yellow0.0%
Key (black)4.3%

Color previews

#cbaff4 text on a black background

contrast 10.98:1

Card sample

#cbaff4 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbaff4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbaff4 in the Color Lab