Skip to content

#9145db

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

RGB
145, 69, 219
HSL
270°, 68%, 57%
CMYK
34, 69, 0, 14
Luminance
0.1539

Every format

HEX#9145db
RGBrgb(145, 69, 219)
HSLhsl(270, 68%, 57%)
CMYKcmyk(34%, 69%, 0%, 14%)
LABlab(46.2 59.0 -64.3)
LCHlch(46.2 87.3 312.6)
OKLCHoklch(0.562 0.218 303.2)

Copy-ready code

/* CSS */
color: #9145db;
background-color: #9145db;
/* Tailwind (arbitrary) */
class="text-[#9145db] bg-[#9145db]"
/* SCSS */
$brand: #9145db;
/* SwiftUI */
Color(red: 0.569, green: 0.271, blue: 0.859)
/* Android */
Color.parseColor("#9145db")

Accessibility — WCAG contrast

Aa
#9145db on white: 5.15:1
AA ✓ pass · AA-large · AAA
Aa
#9145db on black: 4.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.9%
Green27.1%
Blue85.9%

CMYK percentages

Cyan33.8%
Magenta68.5%
Yellow0.0%
Key (black)14.1%

Color previews

#9145db text on a black background

contrast 4.08:1

Card sample

#9145db text on a white background

contrast 5.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9145db;
Background color
Panel with #9145db background
background-color: #9145db;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9145db;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(145, 69, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(145, 69, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9145db;
background: linear-gradient(135deg, #9145db, #DB45C1);

Monochromatic scale

Palettes built from #9145db

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9145db in the Color Lab