Skip to content

#c0afda

a light, soft violet · warm · closest name: plum

RGB
192, 175, 218
HSL
264°, 37%, 77%
CMYK
12, 20, 0, 15
Luminance
0.4693

Every format

HEX#c0afda
RGBrgb(192, 175, 218)
HSLhsl(264, 37%, 77%)
CMYKcmyk(12%, 20%, 0%, 15%)
LABlab(74.1 14.3 -19.4)
LCHlch(74.1 24.1 306.4)
OKLCHoklch(0.783 0.063 303.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0afda on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#c0afda on black: 10.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green68.6%
Blue85.5%

CMYK percentages

Cyan11.9%
Magenta19.7%
Yellow0.0%
Key (black)14.5%

Color previews

#c0afda text on a black background

contrast 10.39:1

Card sample

#c0afda text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 175, 218, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 175, 218, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0afda;
background: linear-gradient(135deg, #c0afda, #DAAFD7);

Monochromatic scale

Palettes built from #c0afda

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0afda in the Color Lab