Skip to content

#861fdf

a balanced, electric violet · warm · closest name: blue

RGB
134, 31, 223
HSL
272°, 76%, 50%
CMYK
40, 86, 0, 13
Luminance
0.1138

Every format

HEX#861fdf
RGBrgb(134, 31, 223)
HSLhsl(272, 76%, 50%)
CMYKcmyk(40%, 86%, 0%, 13%)
LABlab(40.2 72.2 -76.3)
LCHlch(40.2 105.0 313.4)
OKLCHoklch(0.518 0.255 301.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#861fdf on white: 6.41:1
AA ✓ pass · AA-large · AAA
Aa
#861fdf on black: 3.28:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red52.5%
Green12.2%
Blue87.5%

CMYK percentages

Cyan39.9%
Magenta86.1%
Yellow0.0%
Key (black)12.5%

Color previews

#861fdf text on a black background

contrast 3.28:1

Card sample

#861fdf text on a white background

contrast 6.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #861fdf;
Background color
Panel with #861fdf background
background-color: #861fdf;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(134, 31, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(134, 31, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #861fdf;
background: linear-gradient(135deg, #861fdf, #DF1FB8);

Monochromatic scale

Palettes built from #861fdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #861fdf in the Color Lab