#cc89ff
a light, electric violet · warm · closest name: violet
RGB
204, 137, 255
HSL
274°, 100%, 77%
CMYK
20, 46, 0, 0
Luminance
0.3795
Every format
| HEX | #cc89ff |
| RGB | rgb(204, 137, 255) |
| HSL | hsl(274, 100%, 77%) |
| CMYK | cmyk(20%, 46%, 0%, 0%) |
| LAB | lab(68.0 46.7 -49.1) |
| LCH | lch(68.0 67.7 313.6) |
| OKLCH | oklch(0.743 0.176 308.9) |
Copy-ready code
/* CSS */
color: #cc89ff;
background-color: #cc89ff;
/* Tailwind (arbitrary) */
class="text-[#cc89ff] bg-[#cc89ff]"
/* SCSS */
$brand: #cc89ff;
/* SwiftUI */
Color(red: 0.800, green: 0.537, blue: 1.000)
/* Android */
Color.parseColor("#cc89ff")Accessibility — WCAG contrast
Aa
#cc89ff on white: 2.44:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cc89ff on black: 8.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green53.7%
Blue100.0%
CMYK percentages
Cyan20.0%
Magenta46.3%
Yellow0.0%
Key (black)0.0%
Color previews
#cc89ff text on a black background
contrast 8.59:1
Card sample
#cc89ff text on a white background
contrast 2.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cc89ff;
Background color
Panel with #cc89ff background
background-color: #cc89ff;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cc89ff;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 137, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 137, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cc89ff; background: linear-gradient(135deg, #cc89ff, #FF89E3);