Skip to content

#8f65af

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

RGB
143, 101, 175
HSL
274°, 32%, 54%
CMYK
18, 42, 0, 31
Luminance
0.1824

Every format

HEX#8f65af
RGBrgb(143, 101, 175)
HSLhsl(274, 32%, 54%)
CMYKcmyk(18%, 42%, 0%, 31%)
LABlab(49.8 31.2 -33.1)
LCHlch(49.8 45.5 313.3)
OKLCHoklch(0.580 0.119 309.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8f65af on white: 4.52:1
AA ✓ pass · AA-large · AAA
Aa
#8f65af on black: 4.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.1%
Green39.6%
Blue68.6%

CMYK percentages

Cyan18.3%
Magenta42.3%
Yellow0.0%
Key (black)31.4%

Color previews

#8f65af text on a black background

contrast 4.65:1

Card sample

#8f65af text on a white background

contrast 4.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8f65af;
Background color
Panel with #8f65af background
background-color: #8f65af;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 101, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 101, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f65af;
background: linear-gradient(135deg, #8f65af, #AF659E);

Monochromatic scale

Palettes built from #8f65af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8f65af in the Color Lab