Skip to content

#c229ff

a balanced, electric violet · warm · closest name: magenta

RGB
194, 41, 255
HSL
283°, 100%, 58%
CMYK
24, 84, 0, 0
Luminance
0.2028

Every format

HEX#c229ff
RGBrgb(194, 41, 255)
HSLhsl(283, 100%, 58%)
CMYKcmyk(24%, 84%, 0%, 0%)
LABlab(52.1 84.3 -74.5)
LCHlch(52.1 112.5 318.5)
OKLCHoklch(0.626 0.289 313.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c229ff on white: 4.15:1
AA ✗ fail · AA-large · AAA
Aa
#c229ff on black: 5.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green16.1%
Blue100.0%

CMYK percentages

Cyan23.9%
Magenta83.9%
Yellow0.0%
Key (black)0.0%

Color previews

#c229ff text on a black background

contrast 5.06:1

Card sample

#c229ff text on a white background

contrast 4.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c229ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c229ff in the Color Lab