Skip to content

#652afd

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

RGB
101, 42, 253
HSL
257°, 98%, 58%
CMYK
60, 83, 0, 1
Luminance
0.1151

Every format

HEX#652afd
RGBrgb(101, 42, 253)
HSLhsl(257, 98%, 58%)
CMYKcmyk(60%, 83%, 0%, 1%)
LABlab(40.4 72.4 -93.1)
LCHlch(40.4 117.9 307.9)
OKLCHoklch(0.520 0.277 284.0)

Copy-ready code

/* CSS */
color: #652afd;
background-color: #652afd;
/* Tailwind (arbitrary) */
class="text-[#652afd] bg-[#652afd]"
/* SCSS */
$brand: #652afd;
/* SwiftUI */
Color(red: 0.396, green: 0.165, blue: 0.992)
/* Android */
Color.parseColor("#652afd")

Accessibility — WCAG contrast

Aa
#652afd on white: 6.36:1
AA ✓ pass · AA-large · AAA
Aa
#652afd on black: 3.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red39.6%
Green16.5%
Blue99.2%

CMYK percentages

Cyan60.1%
Magenta83.4%
Yellow0.0%
Key (black)0.8%

Color previews

#652afd text on a black background

contrast 3.30:1

Card sample

#652afd text on a white background

contrast 6.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #652afd;
Background color
Panel with #652afd background
background-color: #652afd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #652afd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(101, 42, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(101, 42, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #652afd;
background: linear-gradient(135deg, #652afd, #F22AFD);

Monochromatic scale

Palettes built from #652afd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #652afd in the Color Lab