Skip to content

#cbb8ff

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

RGB
203, 184, 255
HSL
256°, 100%, 86%
CMYK
20, 28, 0, 0
Luminance
0.5420

Every format

HEX#cbb8ff
RGBrgb(203, 184, 255)
HSLhsl(256, 100%, 86%)
CMYKcmyk(20%, 28%, 0%, 0%)
LABlab(78.6 20.8 -32.6)
LCHlch(78.6 38.7 302.6)
OKLCHoklch(0.823 0.100 296.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbb8ff on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#cbb8ff on black: 11.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green72.2%
Blue100.0%

CMYK percentages

Cyan20.4%
Magenta27.8%
Yellow0.0%
Key (black)0.0%

Color previews

#cbb8ff text on a black background

contrast 11.84:1

Card sample

#cbb8ff text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbb8ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbb8ff in the Color Lab