#9f89af
a balanced, soft violet · warm · closest name: plum
RGB
159, 137, 175
HSL
275°, 19%, 61%
CMYK
9, 22, 0, 31
Luminance
0.2836
Every format
| HEX | #9f89af |
| RGB | rgb(159, 137, 175) |
| HSL | hsl(275, 19%, 61%) |
| CMYK | cmyk(9%, 22%, 0%, 31%) |
| LAB | lab(60.2 15.6 -16.9) |
| LCH | lch(60.2 23.0 312.7) |
| OKLCH | oklch(0.663 0.060 310.8) |
Copy-ready code
/* CSS */
color: #9f89af;
background-color: #9f89af;
/* Tailwind (arbitrary) */
class="text-[#9f89af] bg-[#9f89af]"
/* SCSS */
$brand: #9f89af;
/* SwiftUI */
Color(red: 0.624, green: 0.537, blue: 0.686)
/* Android */
Color.parseColor("#9f89af")Accessibility — WCAG contrast
Aa
#9f89af on white: 3.15:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#9f89af on black: 6.67:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red62.4%
Green53.7%
Blue68.6%
CMYK percentages
Cyan9.1%
Magenta21.7%
Yellow0.0%
Key (black)31.4%
Color previews
#9f89af text on a black background
contrast 6.67:1
Card sample
#9f89af text on a white background
contrast 3.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #9f89af;
Background color
Panel with #9f89af background
background-color: #9f89af;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #9f89af;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(159, 137, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(159, 137, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9f89af; background: linear-gradient(135deg, #9f89af, #AF89A6);