#af8bc4
a light, soft violet · warm · closest name: plum
RGB
175, 139, 196
HSL
278°, 33%, 66%
CMYK
11, 29, 0, 23
Luminance
0.3156
Every format
| HEX | #af8bc4 |
| RGB | rgb(175, 139, 196) |
| HSL | hsl(278, 33%, 66%) |
| CMYK | cmyk(11%, 29%, 0%, 23%) |
| LAB | lab(63.0 24.2 -24.4) |
| LCH | lch(63.0 34.4 314.8) |
| OKLCH | oklch(0.690 0.091 312.7) |
Copy-ready code
/* CSS */
color: #af8bc4;
background-color: #af8bc4;
/* Tailwind (arbitrary) */
class="text-[#af8bc4] bg-[#af8bc4]"
/* SCSS */
$brand: #af8bc4;
/* SwiftUI */
Color(red: 0.686, green: 0.545, blue: 0.769)
/* Android */
Color.parseColor("#af8bc4")Accessibility — WCAG contrast
Aa
#af8bc4 on white: 2.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af8bc4 on black: 7.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green54.5%
Blue76.9%
CMYK percentages
Cyan10.7%
Magenta29.1%
Yellow0.0%
Key (black)23.1%
Color previews
#af8bc4 text on a black background
contrast 7.31:1
Card sample
#af8bc4 text on a white background
contrast 2.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af8bc4;
Background color
Panel with #af8bc4 background
background-color: #af8bc4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af8bc4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 139, 196, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 139, 196, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af8bc4; background: linear-gradient(135deg, #af8bc4, #C48BB3);