Skip to content

#cbabf8

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

RGB
203, 171, 248
HSL
265°, 85%, 82%
CMYK
18, 31, 0, 3
Luminance
0.4860

Every format

HEX#cbabf8
RGBrgb(203, 171, 248)
HSLhsl(265, 85%, 82%)
CMYKcmyk(18%, 31%, 0%, 3%)
LABlab(75.2 26.4 -34.0)
LCHlch(75.2 43.0 307.8)
OKLCHoklch(0.797 0.112 303.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbabf8 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#cbabf8 on black: 10.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green67.1%
Blue97.3%

CMYK percentages

Cyan18.1%
Magenta31.0%
Yellow0.0%
Key (black)2.7%

Color previews

#cbabf8 text on a black background

contrast 10.72:1

Card sample

#cbabf8 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbabf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbabf8 in the Color Lab