Skip to content

#c891ff

a light, electric violet · warm · closest name: violet

RGB
200, 145, 255
HSL
270°, 100%, 78%
CMYK
22, 43, 0, 0
Luminance
0.3975

Every format

HEX#c891ff
RGBrgb(200, 145, 255)
HSLhsl(270, 100%, 78%)
CMYKcmyk(22%, 43%, 0%, 0%)
LABlab(69.3 41.3 -47.0)
LCHlch(69.3 62.6 311.3)
OKLCHoklch(0.752 0.162 305.9)

Copy-ready code

/* CSS */
color: #c891ff;
background-color: #c891ff;
/* Tailwind (arbitrary) */
class="text-[#c891ff] bg-[#c891ff]"
/* SCSS */
$brand: #c891ff;
/* SwiftUI */
Color(red: 0.784, green: 0.569, blue: 1.000)
/* Android */
Color.parseColor("#c891ff")

Accessibility — WCAG contrast

Aa
#c891ff on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#c891ff on black: 8.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green56.9%
Blue100.0%

CMYK percentages

Cyan21.6%
Magenta43.1%
Yellow0.0%
Key (black)0.0%

Color previews

#c891ff text on a black background

contrast 8.95:1

Card sample

#c891ff text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(200, 145, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(200, 145, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c891ff;
background: linear-gradient(135deg, #c891ff, #FF91ED);

Monochromatic scale

Palettes built from #c891ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c891ff in the Color Lab