Skip to content

#7015df

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

RGB
112, 21, 223
HSL
267°, 83%, 48%
CMYK
50, 91, 0, 13
Luminance
0.0931

Every format

HEX#7015df
RGBrgb(112, 21, 223)
HSLhsl(267, 83%, 48%)
CMYKcmyk(50%, 91%, 0%, 13%)
LABlab(36.6 72.1 -82.4)
LCHlch(36.6 109.5 311.2)
OKLCHoklch(0.487 0.259 293.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7015df on white: 7.34:1
AA ✓ pass · AA-large · AAA
Aa
#7015df on black: 2.86:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red43.9%
Green8.2%
Blue87.5%

CMYK percentages

Cyan49.8%
Magenta90.6%
Yellow0.0%
Key (black)12.5%

Color previews

#7015df text on a black background

contrast 2.86:1

Card sample

#7015df text on a white background

contrast 7.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7015df;
Background color
Panel with #7015df background
background-color: #7015df;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(112, 21, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 21, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7015df;
background: linear-gradient(135deg, #7015df, #DF15C7);

Monochromatic scale

Palettes built from #7015df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7015df in the Color Lab