Skip to content

#cdadfa

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

RGB
205, 173, 250
HSL
265°, 89%, 83%
CMYK
18, 31, 0, 2
Luminance
0.4977

Every format

HEX#cdadfa
RGBrgb(205, 173, 250)
HSLhsl(265, 89%, 83%)
CMYKcmyk(18%, 31%, 0%, 2%)
LABlab(75.9 26.3 -34.0)
LCHlch(75.9 43.0 307.8)
OKLCHoklch(0.803 0.112 303.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdadfa on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#cdadfa on black: 10.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green67.8%
Blue98.0%

CMYK percentages

Cyan18.0%
Magenta30.8%
Yellow0.0%
Key (black)2.0%

Color previews

#cdadfa text on a black background

contrast 10.95:1

Card sample

#cdadfa text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdadfa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdadfa in the Color Lab