Skip to content

#925df0

a light, electric violet · warm · closest name: slateblue

RGB
146, 93, 240
HSL
262°, 83%, 65%
CMYK
39, 61, 0, 6
Luminance
0.2023

Every format

HEX#925df0
RGBrgb(146, 93, 240)
HSLhsl(262, 83%, 65%)
CMYKcmyk(39%, 61%, 0%, 6%)
LABlab(52.1 52.5 -66.5)
LCHlch(52.1 84.7 308.3)
OKLCHoklch(0.610 0.211 296.2)

Copy-ready code

/* CSS */
color: #925df0;
background-color: #925df0;
/* Tailwind (arbitrary) */
class="text-[#925df0] bg-[#925df0]"
/* SCSS */
$brand: #925df0;
/* SwiftUI */
Color(red: 0.573, green: 0.365, blue: 0.941)
/* Android */
Color.parseColor("#925df0")

Accessibility — WCAG contrast

Aa
#925df0 on white: 4.16:1
AA ✗ fail · AA-large · AAA
Aa
#925df0 on black: 5.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red57.3%
Green36.5%
Blue94.1%

CMYK percentages

Cyan39.2%
Magenta61.2%
Yellow0.0%
Key (black)5.9%

Color previews

#925df0 text on a black background

contrast 5.05:1

Card sample

#925df0 text on a white background

contrast 4.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #925df0;
Background color
Panel with #925df0 background
background-color: #925df0;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #925df0;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(146, 93, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(146, 93, 240, 0.45);
Border & gradient
Gradient panel
border: 3px solid #925df0;
background: linear-gradient(135deg, #925df0, #F05DEC);

Monochromatic scale

Palettes built from #925df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #925df0 in the Color Lab