Skip to content

#902abc

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

RGB
144, 42, 188
HSL
282°, 64%, 45%
CMYK
23, 78, 0, 26
Luminance
0.1122

Every format

HEX#902abc
RGBrgb(144, 42, 188)
HSLhsl(282, 64%, 45%)
CMYKcmyk(23%, 78%, 0%, 26%)
LABlab(39.9 63.1 -56.4)
LCHlch(39.9 84.6 318.2)
OKLCHoklch(0.511 0.218 313.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#902abc on white: 6.48:1
AA ✓ pass · AA-large · AAA
Aa
#902abc on black: 3.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red56.5%
Green16.5%
Blue73.7%

CMYK percentages

Cyan23.4%
Magenta77.7%
Yellow0.0%
Key (black)26.3%

Color previews

#902abc text on a black background

contrast 3.24:1

Card sample

#902abc text on a white background

contrast 6.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #902abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #902abc in the Color Lab