Skip to content

#c162df

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

RGB
193, 98, 223
HSL
286°, 66%, 63%
CMYK
14, 56, 0, 13
Luminance
0.2540

Every format

HEX#c162df
RGBrgb(193, 98, 223)
HSLhsl(286, 66%, 63%)
CMYKcmyk(14%, 56%, 0%, 13%)
LABlab(57.5 57.0 -48.1)
LCHlch(57.5 74.6 319.9)
OKLCHoklch(0.657 0.198 317.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c162df on white: 3.45:1
AA ✗ fail · AA-large · AAA
Aa
#c162df on black: 6.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.7%
Green38.4%
Blue87.5%

CMYK percentages

Cyan13.5%
Magenta56.1%
Yellow0.0%
Key (black)12.5%

Color previews

#c162df text on a black background

contrast 6.08:1

Card sample

#c162df text on a white background

contrast 3.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(193, 98, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 98, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c162df;
background: linear-gradient(135deg, #c162df, #DF62AA);

Monochromatic scale

Palettes built from #c162df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c162df in the Color Lab