Skip to content

#8084ff

a light, electric blue · warm · closest name: royalblue

RGB
128, 132, 255
HSL
238°, 100%, 75%
CMYK
50, 48, 0, 0
Luminance
0.2831

Every format

HEX#8084ff
RGBrgb(128, 132, 255)
HSLhsl(238, 100%, 75%)
CMYKcmyk(50%, 48%, 0%, 0%)
LABlab(60.2 30.8 -61.9)
LCHlch(60.2 69.1 296.4)
OKLCHoklch(0.669 0.178 279.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8084ff on white: 3.15:1
AA ✗ fail · AA-large · AAA
Aa
#8084ff on black: 6.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green51.8%
Blue100.0%

CMYK percentages

Cyan49.8%
Magenta48.2%
Yellow0.0%
Key (black)0.0%

Color previews

#8084ff text on a black background

contrast 6.66:1

Card sample

#8084ff text on a white background

contrast 3.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8084ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8084ff in the Color Lab