#cd89eb
a light, vivid violet · warm · closest name: violet
RGB
205, 137, 235
HSL
282°, 71%, 73%
CMYK
13, 42, 0, 8
Luminance
0.3687
Every format
| HEX | #cd89eb |
| RGB | rgb(205, 137, 235) |
| HSL | hsl(282, 71%, 73%) |
| CMYK | cmyk(13%, 42%, 0%, 8%) |
| LAB | lab(67.2 42.7 -39.4) |
| LCH | lch(67.2 58.1 317.3) |
| OKLCH | oklch(0.734 0.154 314.9) |
Copy-ready code
/* CSS */
color: #cd89eb;
background-color: #cd89eb;
/* Tailwind (arbitrary) */
class="text-[#cd89eb] bg-[#cd89eb]"
/* SCSS */
$brand: #cd89eb;
/* SwiftUI */
Color(red: 0.804, green: 0.537, blue: 0.922)
/* Android */
Color.parseColor("#cd89eb")Accessibility — WCAG contrast
Aa
#cd89eb on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cd89eb on black: 8.37:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green53.7%
Blue92.2%
CMYK percentages
Cyan12.8%
Magenta41.7%
Yellow0.0%
Key (black)7.8%
Color previews
#cd89eb text on a black background
contrast 8.37:1
Card sample
#cd89eb text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd89eb;
Background color
Panel with #cd89eb background
background-color: #cd89eb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd89eb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 137, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 137, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd89eb; background: linear-gradient(135deg, #cd89eb, #EB89C8);