Skip to content

#cbacff

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

RGB
203, 172, 255
HSL
262°, 100%, 84%
CMYK
20, 33, 0, 0
Luminance
0.4942

Every format

HEX#cbacff
RGBrgb(203, 172, 255)
HSLhsl(262, 100%, 84%)
CMYKcmyk(20%, 33%, 0%, 0%)
LABlab(75.7 27.4 -37.0)
LCHlch(75.7 46.0 306.5)
OKLCHoklch(0.801 0.119 300.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbacff on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#cbacff on black: 10.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green67.5%
Blue100.0%

CMYK percentages

Cyan20.4%
Magenta32.5%
Yellow0.0%
Key (black)0.0%

Color previews

#cbacff text on a black background

contrast 10.88:1

Card sample

#cbacff text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbacff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbacff in the Color Lab