Skip to content

#892fac

a dark, vivid violet · warm · closest name: purple

RGB
137, 47, 172
HSL
283°, 57%, 43%
CMYK
20, 73, 0, 33
Luminance
0.1033

Every format

HEX#892fac
RGBrgb(137, 47, 172)
HSLhsl(283, 57%, 43%)
CMYKcmyk(20%, 73%, 0%, 33%)
LABlab(38.4 56.6 -49.4)
LCHlch(38.4 75.2 318.9)
OKLCHoklch(0.494 0.196 314.6)

Copy-ready code

/* CSS */
color: #892fac;
background-color: #892fac;
/* Tailwind (arbitrary) */
class="text-[#892fac] bg-[#892fac]"
/* SCSS */
$brand: #892fac;
/* SwiftUI */
Color(red: 0.537, green: 0.184, blue: 0.675)
/* Android */
Color.parseColor("#892fac")

Accessibility — WCAG contrast

Aa
#892fac on white: 6.85:1
AA ✓ pass · AA-large · AAA
Aa
#892fac on black: 3.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red53.7%
Green18.4%
Blue67.5%

CMYK percentages

Cyan20.3%
Magenta72.7%
Yellow0.0%
Key (black)32.5%

Color previews

#892fac text on a black background

contrast 3.07:1

Card sample

#892fac text on a white background

contrast 6.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #892fac;
Background color
Panel with #892fac background
background-color: #892fac;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(137, 47, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(137, 47, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #892fac;
background: linear-gradient(135deg, #892fac, #AC2F7C);

Monochromatic scale

Palettes built from #892fac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #892fac in the Color Lab