Skip to content

#c0acfd

a light, electric blue · warm · closest name: plum

RGB
192, 172, 253
HSL
255°, 95%, 83%
CMYK
24, 32, 0, 1
Luminance
0.4780

Every format

HEX#c0acfd
RGBrgb(192, 172, 253)
HSLhsl(255, 95%, 83%)
CMYKcmyk(24%, 32%, 0%, 1%)
LABlab(74.7 23.7 -37.6)
LCHlch(74.7 44.4 302.3)
OKLCHoklch(0.791 0.115 295.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0acfd on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#c0acfd on black: 10.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green67.5%
Blue99.2%

CMYK percentages

Cyan24.1%
Magenta32.0%
Yellow0.0%
Key (black)0.8%

Color previews

#c0acfd text on a black background

contrast 10.56:1

Card sample

#c0acfd text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0acfd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0acfd in the Color Lab