Skip to content

#783ddf

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

RGB
120, 61, 223
HSL
262°, 72%, 56%
CMYK
46, 73, 0, 13
Luminance
0.1266

Every format

HEX#783ddf
RGBrgb(120, 61, 223)
HSLhsl(262, 72%, 56%)
CMYKcmyk(46%, 73%, 0%, 13%)
LABlab(42.2 59.3 -73.0)
LCHlch(42.2 94.1 309.1)
OKLCHoklch(0.529 0.229 293.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#783ddf on white: 5.95:1
AA ✓ pass · AA-large · AAA
Aa
#783ddf on black: 3.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.1%
Green23.9%
Blue87.5%

CMYK percentages

Cyan46.2%
Magenta72.6%
Yellow0.0%
Key (black)12.5%

Color previews

#783ddf text on a black background

contrast 3.53:1

Card sample

#783ddf text on a white background

contrast 5.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #783ddf;
Background color
Panel with #783ddf background
background-color: #783ddf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #783ddf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(120, 61, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(120, 61, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #783ddf;
background: linear-gradient(135deg, #783ddf, #DF3DDA);

Monochromatic scale

Palettes built from #783ddf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #783ddf in the Color Lab