Skip to content

#cb89ff

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

RGB
203, 137, 255
HSL
274°, 100%, 77%
CMYK
20, 46, 0, 0
Luminance
0.3781

Every format

HEX#cb89ff
RGBrgb(203, 137, 255)
HSLhsl(274, 100%, 77%)
CMYKcmyk(20%, 46%, 0%, 0%)
LABlab(67.9 46.4 -49.3)
LCHlch(67.9 67.7 313.3)
OKLCHoklch(0.742 0.176 308.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cb89ff on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#cb89ff on black: 8.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green53.7%
Blue100.0%

CMYK percentages

Cyan20.4%
Magenta46.3%
Yellow0.0%
Key (black)0.0%

Color previews

#cb89ff text on a black background

contrast 8.56:1

Card sample

#cb89ff text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cb89ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cb89ff in the Color Lab