Skip to content

#6946af

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

RGB
105, 70, 175
HSL
260°, 43%, 48%
CMYK
40, 60, 0, 31
Luminance
0.1048

Every format

HEX#6946af
RGBrgb(105, 70, 175)
HSLhsl(260, 43%, 48%)
CMYKcmyk(40%, 60%, 0%, 31%)
LABlab(38.7 38.9 -51.0)
LCHlch(38.7 64.2 307.3)
OKLCHoklch(0.488 0.160 295.2)

Copy-ready code

/* CSS */
color: #6946af;
background-color: #6946af;
/* Tailwind (arbitrary) */
class="text-[#6946af] bg-[#6946af]"
/* SCSS */
$brand: #6946af;
/* SwiftUI */
Color(red: 0.412, green: 0.275, blue: 0.686)
/* Android */
Color.parseColor("#6946af")

Accessibility — WCAG contrast

Aa
#6946af on white: 6.78:1
AA ✓ pass · AA-large · AAA
Aa
#6946af on black: 3.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red41.2%
Green27.5%
Blue68.6%

CMYK percentages

Cyan40.0%
Magenta60.0%
Yellow0.0%
Key (black)31.4%

Color previews

#6946af text on a black background

contrast 3.10:1

Card sample

#6946af text on a white background

contrast 6.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6946af;
Background color
Panel with #6946af background
background-color: #6946af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6946af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(105, 70, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(105, 70, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6946af;
background: linear-gradient(135deg, #6946af, #AF46AF);

Monochromatic scale

Palettes built from #6946af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6946af in the Color Lab