Skip to content

#cb80ff

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

RGB
203, 128, 255
HSL
275°, 100%, 75%
CMYK
20, 50, 0, 0
Luminance
0.3535

Every format

HEX#cb80ff
RGBrgb(203, 128, 255)
HSLhsl(275, 100%, 75%)
CMYKcmyk(20%, 50%, 0%, 0%)
LABlab(66.0 51.1 -52.2)
LCHlch(66.0 73.0 314.4)
OKLCHoklch(0.728 0.190 309.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb80ff on white: 2.60:1
AA ✗ fail · AA-large · AAA
Aa
#cb80ff on black: 8.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green50.2%
Blue100.0%

CMYK percentages

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

Color previews

#cb80ff text on a black background

contrast 8.07:1

Card sample

#cb80ff text on a white background

contrast 2.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb80ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb80ff in the Color Lab