#ae98df
a light, vivid violet · warm · closest name: plum
RGB
174, 152, 223
HSL
259°, 53%, 74%
CMYK
22, 32, 0, 13
Luminance
0.3678
Every format
| HEX | #ae98df |
| RGB | rgb(174, 152, 223) |
| HSL | hsl(259, 53%, 74%) |
| CMYK | cmyk(22%, 32%, 0%, 13%) |
| LAB | lab(67.1 22.6 -33.1) |
| LCH | lch(67.1 40.1 304.3) |
| OKLCH | oklch(0.725 0.104 298.0) |
Copy-ready code
/* CSS */
color: #ae98df;
background-color: #ae98df;
/* Tailwind (arbitrary) */
class="text-[#ae98df] bg-[#ae98df]"
/* SCSS */
$brand: #ae98df;
/* SwiftUI */
Color(red: 0.682, green: 0.596, blue: 0.875)
/* Android */
Color.parseColor("#ae98df")Accessibility — WCAG contrast
Aa
#ae98df on white: 2.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ae98df on black: 8.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.2%
Green59.6%
Blue87.5%
CMYK percentages
Cyan22.0%
Magenta31.8%
Yellow0.0%
Key (black)12.5%
Color previews
#ae98df text on a black background
contrast 8.36:1
Card sample
#ae98df text on a white background
contrast 2.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ae98df;
Background color
Panel with #ae98df background
background-color: #ae98df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ae98df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(174, 152, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(174, 152, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ae98df; background: linear-gradient(135deg, #ae98df, #DD98DF);