Skip to content

#cbafff

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

RGB
203, 175, 255
HSL
261°, 100%, 84%
CMYK
20, 31, 0, 0
Luminance
0.5058

Every format

HEX#cbafff
RGBrgb(203, 175, 255)
HSLhsl(261, 100%, 84%)
CMYKcmyk(20%, 31%, 0%, 0%)
LABlab(76.4 25.7 -35.9)
LCHlch(76.4 44.2 305.6)
OKLCHoklch(0.807 0.114 299.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbafff on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#cbafff on black: 11.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green68.6%
Blue100.0%

CMYK percentages

Cyan20.4%
Magenta31.4%
Yellow0.0%
Key (black)0.0%

Color previews

#cbafff text on a black background

contrast 11.12:1

Card sample

#cbafff text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbafff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbafff in the Color Lab