#cd89fc
a light, electric violet · warm · closest name: violet
RGB
205, 137, 252
HSL
276°, 95%, 76%
CMYK
19, 46, 0, 1
Luminance
0.3790
Every format
| HEX | #cd89fc |
| RGB | rgb(205, 137, 252) |
| HSL | hsl(276, 95%, 76%) |
| CMYK | cmyk(19%, 46%, 0%, 1%) |
| LAB | lab(68.0 46.3 -47.5) |
| LCH | lch(68.0 66.3 314.3) |
| OKLCH | oklch(0.743 0.173 310.1) |
Copy-ready code
/* CSS */
color: #cd89fc;
background-color: #cd89fc;
/* Tailwind (arbitrary) */
class="text-[#cd89fc] bg-[#cd89fc]"
/* SCSS */
$brand: #cd89fc;
/* SwiftUI */
Color(red: 0.804, green: 0.537, blue: 0.988)
/* Android */
Color.parseColor("#cd89fc")Accessibility — WCAG contrast
Aa
#cd89fc on white: 2.45:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cd89fc on black: 8.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green53.7%
Blue98.8%
CMYK percentages
Cyan18.7%
Magenta45.6%
Yellow0.0%
Key (black)1.2%
Color previews
#cd89fc text on a black background
contrast 8.58:1
Card sample
#cd89fc text on a white background
contrast 2.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd89fc;
Background color
Panel with #cd89fc background
background-color: #cd89fc;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd89fc;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 137, 252, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 137, 252, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd89fc; background: linear-gradient(135deg, #cd89fc, #FC89DE);