Skip to content
Vectorlight.net

#c048df

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#c048df
RGB
192, 72, 223
HSL
287.68°, 70.23%, 57.84%
OKLCH
0.63 0.23 318.65
Names
—
Lists

Codes

FormatValue
HEX#c048df
RGBrgb(192 72 223)
HSLhsl(287.68 70.23% 57.84%)
OKLCHoklch(0.63 0.23 318.65)
CMYKcmyk(13.9% 67.71% 0% 12.55%)
Android#ffc048df

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.01:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.23:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#c048df"
Gradient stop
<stop stop-color="#c048df"/>
CSS variable + fill
:root { --c: #c048df; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #c048df;
background-color: #c048df;
bg-[#c048df]