Skip to content

#cbaff9

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

RGB
203, 175, 249
HSL
263°, 86%, 83%
CMYK
19, 30, 0, 2
Luminance
0.5020

Every format

HEX#cbaff9
RGBrgb(203, 175, 249)
HSLhsl(263, 86%, 83%)
CMYKcmyk(19%, 30%, 0%, 2%)
LABlab(76.2 24.4 -33.0)
LCHlch(76.2 41.1 306.5)
OKLCHoklch(0.804 0.106 301.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbaff9 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#cbaff9 on black: 11.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green68.6%
Blue97.6%

CMYK percentages

Cyan18.5%
Magenta29.7%
Yellow0.0%
Key (black)2.4%

Color previews

#cbaff9 text on a black background

contrast 11.04:1

Card sample

#cbaff9 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbaff9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbaff9 in the Color Lab