Skip to content

#834abc

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

RGB
131, 74, 188
HSL
270°, 46%, 51%
CMYK
30, 61, 0, 26
Luminance
0.1335

Every format

HEX#834abc
RGBrgb(131, 74, 188)
HSLhsl(270, 46%, 51%)
CMYKcmyk(30%, 61%, 0%, 26%)
LABlab(43.3 46.1 -51.1)
LCHlch(43.3 68.8 312.1)
OKLCHoklch(0.531 0.175 304.1)

Copy-ready code

/* CSS */
color: #834abc;
background-color: #834abc;
/* Tailwind (arbitrary) */
class="text-[#834abc] bg-[#834abc]"
/* SCSS */
$brand: #834abc;
/* SwiftUI */
Color(red: 0.514, green: 0.290, blue: 0.737)
/* Android */
Color.parseColor("#834abc")

Accessibility — WCAG contrast

Aa
#834abc on white: 5.72:1
AA ✓ pass · AA-large · AAA
Aa
#834abc on black: 3.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red51.4%
Green29.0%
Blue73.7%

CMYK percentages

Cyan30.3%
Magenta60.6%
Yellow0.0%
Key (black)26.3%

Color previews

#834abc text on a black background

contrast 3.67:1

Card sample

#834abc text on a white background

contrast 5.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #834abc;
Background color
Panel with #834abc background
background-color: #834abc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #834abc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(131, 74, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(131, 74, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #834abc;
background: linear-gradient(135deg, #834abc, #BC4AA9);

Monochromatic scale

Palettes built from #834abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #834abc in the Color Lab