#af8acb
a light, soft violet · warm · closest name: plum
RGB
175, 138, 203
HSL
274°, 39%, 67%
CMYK
14, 32, 0, 20
Luminance
0.3160
Every format
| HEX | #af8acb |
| RGB | rgb(175, 138, 203) |
| HSL | hsl(274, 39%, 67%) |
| CMYK | cmyk(14%, 32%, 0%, 20%) |
| LAB | lab(63.0 26.3 -28.3) |
| LCH | lch(63.0 38.6 312.9) |
| OKLCH | oklch(0.692 0.101 309.9) |
Copy-ready code
/* CSS */
color: #af8acb;
background-color: #af8acb;
/* Tailwind (arbitrary) */
class="text-[#af8acb] bg-[#af8acb]"
/* SCSS */
$brand: #af8acb;
/* SwiftUI */
Color(red: 0.686, green: 0.541, blue: 0.796)
/* Android */
Color.parseColor("#af8acb")Accessibility — WCAG contrast
Aa
#af8acb on white: 2.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#af8acb on black: 7.32:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red68.6%
Green54.1%
Blue79.6%
CMYK percentages
Cyan13.8%
Magenta32.0%
Yellow0.0%
Key (black)20.4%
Color previews
#af8acb text on a black background
contrast 7.32:1
Card sample
#af8acb text on a white background
contrast 2.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #af8acb;
Background color
Panel with #af8acb background
background-color: #af8acb;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #af8acb;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(175, 138, 203, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 138, 203, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af8acb; background: linear-gradient(135deg, #af8acb, #CB8ABC);