Skip to content

#8c7bbc

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

RGB
140, 123, 188
HSL
256°, 33%, 61%
CMYK
26, 35, 0, 26
Luminance
0.2337

Every format

HEX#8c7bbc
RGBrgb(140, 123, 188)
HSLhsl(256, 33%, 61%)
CMYKcmyk(26%, 35%, 0%, 26%)
LABlab(55.5 20.6 -31.8)
LCHlch(55.5 37.9 302.9)
OKLCHoklch(0.624 0.098 295.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8c7bbc on white: 3.70:1
AA ✗ fail · AA-large · AAA
Aa
#8c7bbc on black: 5.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.9%
Green48.2%
Blue73.7%

CMYK percentages

Cyan25.5%
Magenta34.6%
Yellow0.0%
Key (black)26.3%

Color previews

#8c7bbc text on a black background

contrast 5.67:1

Card sample

#8c7bbc text on a white background

contrast 3.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8c7bbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8c7bbc in the Color Lab