Skip to content

#c657df

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

RGB
198, 87, 223
HSL
289°, 68%, 61%
CMYK
11, 61, 0, 13
Luminance
0.2415

Every format

HEX#c657df
RGBrgb(198, 87, 223)
HSLhsl(289, 68%, 61%)
CMYKcmyk(11%, 61%, 0%, 13%)
LABlab(56.2 63.4 -50.0)
LCHlch(56.2 80.7 321.7)
OKLCHoklch(0.650 0.216 319.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c657df on white: 3.60:1
AA ✗ fail · AA-large · AAA
Aa
#c657df on black: 5.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.6%
Green34.1%
Blue87.5%

CMYK percentages

Cyan11.2%
Magenta61.0%
Yellow0.0%
Key (black)12.5%

Color previews

#c657df text on a black background

contrast 5.83:1

Card sample

#c657df text on a white background

contrast 3.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c657df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c657df in the Color Lab