Skip to content

#8c80af

a balanced, soft violet · warm · closest name: steelblue

RGB
140, 128, 175
HSL
255°, 23%, 59%
CMYK
20, 27, 0, 31
Luminance
0.2411

Every format

HEX#8c80af
RGBrgb(140, 128, 175)
HSLhsl(255, 23%, 59%)
CMYKcmyk(20%, 27%, 0%, 31%)
LABlab(56.2 14.5 -23.2)
LCHlch(56.2 27.3 302.0)
OKLCHoklch(0.628 0.071 296.0)

Copy-ready code

/* CSS */
color: #8c80af;
background-color: #8c80af;
/* Tailwind (arbitrary) */
class="text-[#8c80af] bg-[#8c80af]"
/* SCSS */
$brand: #8c80af;
/* SwiftUI */
Color(red: 0.549, green: 0.502, blue: 0.686)
/* Android */
Color.parseColor("#8c80af")

Accessibility — WCAG contrast

Aa
#8c80af on white: 3.61:1
AA ✗ fail · AA-large · AAA
Aa
#8c80af on black: 5.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green50.2%
Blue68.6%

CMYK percentages

Cyan20.0%
Magenta26.9%
Yellow0.0%
Key (black)31.4%

Color previews

#8c80af text on a black background

contrast 5.82:1

Card sample

#8c80af text on a white background

contrast 3.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8c80af;
Background color
Panel with #8c80af background
background-color: #8c80af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #8c80af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(140, 128, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(140, 128, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8c80af;
background: linear-gradient(135deg, #8c80af, #AB80AF);

Monochromatic scale

Palettes built from #8c80af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c80af in the Color Lab