Skip to content

#c38df4

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

RGB
195, 141, 244
HSL
272°, 82%, 76%
CMYK
20, 42, 0, 4
Luminance
0.3718

Every format

HEX#c38df4
RGBrgb(195, 141, 244)
HSLhsl(272, 82%, 76%)
CMYKcmyk(20%, 42%, 0%, 4%)
LABlab(67.4 39.6 -44.0)
LCHlch(67.4 59.2 312.0)
OKLCHoklch(0.735 0.154 307.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c38df4 on white: 2.49:1
AA ✗ fail · AA-large · AAA
Aa
#c38df4 on black: 8.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.5%
Green55.3%
Blue95.7%

CMYK percentages

Cyan20.1%
Magenta42.2%
Yellow0.0%
Key (black)4.3%

Color previews

#c38df4 text on a black background

contrast 8.44:1

Card sample

#c38df4 text on a white background

contrast 2.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c38df4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c38df4 in the Color Lab