#af99e2
a light, vivid violet · warm · closest name: plum
RGB
175, 153, 226
HSL
258°, 56%, 74%
CMYK
23, 32, 0, 11
Luminance
0.3739
Every format
| HEX | #af99e2 |
| RGB | rgb(175, 153, 226) |
| HSL | hsl(258, 56%, 74%) |
| CMYK | cmyk(23%, 32%, 0%, 11%) |
| LAB | lab(67.6 23.0 -34.0) |
| LCH | lch(67.6 41.1 304.1) |
| OKLCH | oklch(0.729 0.106 297.6) |
Copy-ready code
/* CSS */
color: #af99e2;
background-color: #af99e2;
/* Tailwind (arbitrary) */
class="text-[#af99e2] bg-[#af99e2]"
/* SCSS */
$brand: #af99e2;
/* SwiftUI */
Color(red: 0.686, green: 0.600, blue: 0.886)
/* Android */
Color.parseColor("#af99e2")Accessibility — WCAG contrast
Aa
#af99e2 on white: 2.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af99e2 on black: 8.48:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green60.0%
Blue88.6%
CMYK percentages
Cyan22.6%
Magenta32.3%
Yellow0.0%
Key (black)11.4%
Color previews
#af99e2 text on a black background
contrast 8.48:1
Card sample
#af99e2 text on a white background
contrast 2.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af99e2;
Background color
Panel with #af99e2 background
background-color: #af99e2;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af99e2;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 153, 226, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 153, 226, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af99e2; background: linear-gradient(135deg, #af99e2, #E099E2);