Skip to content

#8b3fdf

a balanced, vivid violet · warm · closest name: slateblue

RGB
139, 63, 223
HSL
269°, 71%, 56%
CMYK
38, 72, 0, 13
Luminance
0.1437

Every format

HEX#8b3fdf
RGBrgb(139, 63, 223)
HSLhsl(269, 71%, 56%)
CMYKcmyk(38%, 72%, 0%, 13%)
LABlab(44.8 61.6 -68.8)
LCHlch(44.8 92.4 311.8)
OKLCHoklch(0.551 0.228 300.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8b3fdf on white: 5.42:1
AA ✓ pass · AA-large · AAA
Aa
#8b3fdf on black: 3.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.5%
Green24.7%
Blue87.5%

CMYK percentages

Cyan37.7%
Magenta71.7%
Yellow0.0%
Key (black)12.5%

Color previews

#8b3fdf text on a black background

contrast 3.87:1

Card sample

#8b3fdf text on a white background

contrast 5.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(139, 63, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(139, 63, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8b3fdf;
background: linear-gradient(135deg, #8b3fdf, #DF3FC8);

Monochromatic scale

Palettes built from #8b3fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8b3fdf in the Color Lab