Skip to content

#cda0ff

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

RGB
205, 160, 255
HSL
268°, 100%, 81%
CMYK
20, 37, 0, 0
Luminance
0.4534

Every format

HEX#cda0ff
RGBrgb(205, 160, 255)
HSLhsl(268, 100%, 81%)
CMYKcmyk(20%, 37%, 0%, 0%)
LABlab(73.1 34.5 -41.0)
LCHlch(73.1 53.6 310.1)
OKLCHoklch(0.782 0.139 305.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cda0ff on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#cda0ff on black: 10.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green62.7%
Blue100.0%

CMYK percentages

Cyan19.6%
Magenta37.3%
Yellow0.0%
Key (black)0.0%

Color previews

#cda0ff text on a black background

contrast 10.07:1

Card sample

#cda0ff text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 160, 255, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 160, 255, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cda0ff;
background: linear-gradient(135deg, #cda0ff, #FFA0F2);

Monochromatic scale

Palettes built from #cda0ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cda0ff in the Color Lab