Skip to content

#cdb3f4

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

RGB
205, 179, 244
HSL
264°, 75%, 83%
CMYK
16, 27, 0, 4
Luminance
0.5175

Every format

HEX#cdb3f4
RGBrgb(205, 179, 244)
HSLhsl(264, 75%, 83%)
CMYKcmyk(16%, 27%, 0%, 4%)
LABlab(77.1 21.8 -28.9)
LCHlch(77.1 36.1 307.0)
OKLCHoklch(0.811 0.094 302.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdb3f4 on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#cdb3f4 on black: 11.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green70.2%
Blue95.7%

CMYK percentages

Cyan16.0%
Magenta26.6%
Yellow0.0%
Key (black)4.3%

Color previews

#cdb3f4 text on a black background

contrast 11.35:1

Card sample

#cdb3f4 text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdb3f4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdb3f4 in the Color Lab