Skip to content

#cbafef

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

RGB
203, 175, 239
HSL
266°, 67%, 81%
CMYK
15, 27, 0, 6
Luminance
0.4959

Every format

HEX#cbafef
RGBrgb(203, 175, 239)
HSLhsl(266, 67%, 81%)
CMYKcmyk(15%, 27%, 0%, 6%)
LABlab(75.8 22.3 -28.2)
LCHlch(75.8 35.9 308.3)
OKLCHoklch(0.800 0.093 304.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbafef on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#cbafef on black: 10.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green68.6%
Blue93.7%

CMYK percentages

Cyan15.1%
Magenta26.8%
Yellow0.0%
Key (black)6.3%

Color previews

#cbafef text on a black background

contrast 10.92:1

Card sample

#cbafef text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbafef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbafef in the Color Lab