Skip to content

#7b3bdf

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

RGB
123, 59, 223
HSL
263°, 72%, 55%
CMYK
45, 74, 0, 13
Luminance
0.1267

Every format

HEX#7b3bdf
RGBrgb(123, 59, 223)
HSLhsl(263, 72%, 55%)
CMYKcmyk(45%, 74%, 0%, 13%)
LABlab(42.3 60.7 -73.0)
LCHlch(42.3 94.9 309.7)
OKLCHoklch(0.529 0.231 295.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7b3bdf on white: 5.94:1
AA ✓ pass · AA-large · AAA
Aa
#7b3bdf on black: 3.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red48.2%
Green23.1%
Blue87.5%

CMYK percentages

Cyan44.8%
Magenta73.5%
Yellow0.0%
Key (black)12.5%

Color previews

#7b3bdf text on a black background

contrast 3.53:1

Card sample

#7b3bdf text on a white background

contrast 5.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7b3bdf;
Background color
Panel with #7b3bdf background
background-color: #7b3bdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7b3bdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(123, 59, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(123, 59, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7b3bdf;
background: linear-gradient(135deg, #7b3bdf, #DF3BD6);

Monochromatic scale

Palettes built from #7b3bdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7b3bdf in the Color Lab