Skip to content

#702cdf

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

RGB
112, 44, 223
HSL
263°, 74%, 52%
CMYK
50, 80, 0, 13
Luminance
0.1057

Every format

HEX#702cdf
RGBrgb(112, 44, 223)
HSLhsl(263, 74%, 52%)
CMYKcmyk(50%, 80%, 0%, 13%)
LABlab(38.9 65.3 -78.7)
LCHlch(38.9 102.3 309.7)
OKLCHoklch(0.503 0.244 292.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#702cdf on white: 6.74:1
AA ✓ pass · AA-large · AAA
Aa
#702cdf on black: 3.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red43.9%
Green17.3%
Blue87.5%

CMYK percentages

Cyan49.8%
Magenta80.3%
Yellow0.0%
Key (black)12.5%

Color previews

#702cdf text on a black background

contrast 3.11:1

Card sample

#702cdf text on a white background

contrast 6.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #702cdf;
Background color
Panel with #702cdf background
background-color: #702cdf;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #702cdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #702cdf in the Color Lab