Skip to content

#8440ff

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

RGB
132, 64, 255
HSL
261°, 100%, 63%
CMYK
48, 75, 0, 0
Luminance
0.1579

Every format

HEX#8440ff
RGBrgb(132, 64, 255)
HSLhsl(261, 100%, 63%)
CMYKcmyk(48%, 75%, 0%, 0%)
LABlab(46.7 67.9 -83.7)
LCHlch(46.7 107.8 309.0)
OKLCHoklch(0.571 0.260 292.3)

Copy-ready code

/* CSS */
color: #8440ff;
background-color: #8440ff;
/* Tailwind (arbitrary) */
class="text-[#8440ff] bg-[#8440ff]"
/* SCSS */
$brand: #8440ff;
/* SwiftUI */
Color(red: 0.518, green: 0.251, blue: 1.000)
/* Android */
Color.parseColor("#8440ff")

Accessibility — WCAG contrast

Aa
#8440ff on white: 5.05:1
AA ✓ pass · AA-large · AAA
Aa
#8440ff on black: 4.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red51.8%
Green25.1%
Blue100.0%

CMYK percentages

Cyan48.2%
Magenta74.9%
Yellow0.0%
Key (black)0.0%

Color previews

#8440ff text on a black background

contrast 4.16:1

Card sample

#8440ff text on a white background

contrast 5.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8440ff;
Background color
Panel with #8440ff background
background-color: #8440ff;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(132, 64, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(132, 64, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8440ff;
background: linear-gradient(135deg, #8440ff, #FF40FB);

Monochromatic scale

Palettes built from #8440ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8440ff in the Color Lab