Skip to content

#cbafe3

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

RGB
203, 175, 227
HSL
272°, 48%, 79%
CMYK
11, 23, 0, 11
Luminance
0.4890

Every format

HEX#cbafe3
RGBrgb(203, 175, 227)
HSLhsl(272, 48%, 79%)
CMYKcmyk(11%, 23%, 0%, 11%)
LABlab(75.4 19.7 -22.3)
LCHlch(75.4 29.8 311.4)
OKLCHoklch(0.795 0.078 309.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbafe3 on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#cbafe3 on black: 10.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green68.6%
Blue89.0%

CMYK percentages

Cyan10.6%
Magenta22.9%
Yellow0.0%
Key (black)11.0%

Color previews

#cbafe3 text on a black background

contrast 10.78:1

Card sample

#cbafe3 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 175, 227, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 175, 227, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbafe3;
background: linear-gradient(135deg, #cbafe3, #E3AFD8);

Monochromatic scale

Palettes built from #cbafe3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbafe3 in the Color Lab