Skip to content

#c23df0

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

RGB
194, 61, 240
HSL
285°, 86%, 59%
CMYK
19, 75, 0, 6
Luminance
0.2110

Every format

HEX#c23df0
RGBrgb(194, 61, 240)
HSLhsl(285, 86%, 59%)
CMYKcmyk(19%, 75%, 0%, 6%)
LABlab(53.1 75.9 -64.7)
LCHlch(53.1 99.7 319.6)
OKLCHoklch(0.629 0.261 315.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c23df0 on white: 4.02:1
AA ✗ fail · AA-large · AAA
Aa
#c23df0 on black: 5.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green23.9%
Blue94.1%

CMYK percentages

Cyan19.2%
Magenta74.6%
Yellow0.0%
Key (black)5.9%

Color previews

#c23df0 text on a black background

contrast 5.22:1

Card sample

#c23df0 text on a white background

contrast 4.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c23df0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c23df0 in the Color Lab