Skip to content

#8d2fda

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

RGB
141, 47, 218
HSL
273°, 70%, 52%
CMYK
35, 78, 0, 15
Luminance
0.1276

Every format

HEX#8d2fda
RGBrgb(141, 47, 218)
HSLhsl(273, 70%, 52%)
CMYKcmyk(35%, 78%, 0%, 15%)
LABlab(42.4 67.2 -69.8)
LCHlch(42.4 96.9 313.9)
OKLCHoklch(0.534 0.240 303.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8d2fda on white: 5.91:1
AA ✓ pass · AA-large · AAA
Aa
#8d2fda on black: 3.55:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red55.3%
Green18.4%
Blue85.5%

CMYK percentages

Cyan35.3%
Magenta78.4%
Yellow0.0%
Key (black)14.5%

Color previews

#8d2fda text on a black background

contrast 3.55:1

Card sample

#8d2fda text on a white background

contrast 5.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(141, 47, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(141, 47, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8d2fda;
background: linear-gradient(135deg, #8d2fda, #DA2FB5);

Monochromatic scale

Palettes built from #8d2fda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8d2fda in the Color Lab