#cd98df
a light, vivid violet · warm · closest name: plum
RGB
205, 152, 223
HSL
285°, 53%, 74%
CMYK
8, 32, 0, 13
Luminance
0.4076
Every format
| HEX | #cd98df |
| RGB | rgb(205, 152, 223) |
| HSL | hsl(285, 53%, 74%) |
| CMYK | cmyk(8%, 32%, 0%, 13%) |
| LAB | lab(70.0 32.1 -28.4) |
| LCH | lch(70.0 42.9 318.6) |
| OKLCH | oklch(0.754 0.114 317.3) |
Copy-ready code
/* CSS */
color: #cd98df;
background-color: #cd98df;
/* Tailwind (arbitrary) */
class="text-[#cd98df] bg-[#cd98df]"
/* SCSS */
$brand: #cd98df;
/* SwiftUI */
Color(red: 0.804, green: 0.596, blue: 0.875)
/* Android */
Color.parseColor("#cd98df")Accessibility — WCAG contrast
Aa
#cd98df on white: 2.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cd98df on black: 9.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green59.6%
Blue87.5%
CMYK percentages
Cyan8.1%
Magenta31.8%
Yellow0.0%
Key (black)12.5%
Color previews
#cd98df text on a black background
contrast 9.15:1
Card sample
#cd98df text on a white background
contrast 2.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cd98df;
Background color
Panel with #cd98df background
background-color: #cd98df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cd98df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 152, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 152, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd98df; background: linear-gradient(135deg, #cd98df, #DF98C2);