Skip to content

#cdbaf4

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

RGB
205, 186, 244
HSL
260°, 73%, 84%
CMYK
16, 24, 0, 4
Luminance
0.5463

Every format

HEX#cdbaf4
RGBrgb(205, 186, 244)
HSLhsl(260, 73%, 84%)
CMYKcmyk(16%, 24%, 0%, 4%)
LABlab(78.8 17.9 -26.3)
LCHlch(78.8 31.8 304.3)
OKLCHoklch(0.824 0.083 299.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdbaf4 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#cdbaf4 on black: 11.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green72.9%
Blue95.7%

CMYK percentages

Cyan16.0%
Magenta23.8%
Yellow0.0%
Key (black)4.3%

Color previews

#cdbaf4 text on a black background

contrast 11.93:1

Card sample

#cdbaf4 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdbaf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdbaf4 in the Color Lab