Skip to content
Vectorlight.net

#c795dd

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

HEX
#c795dd
RGB
199, 149, 221
HSL
281.67°, 51.43%, 72.55%
OKLCH
0.74 0.11 315.22
Names
—
Lists

Codes

FormatValue
HEX#c795dd
RGBrgb(199 149 221)
HSLhsl(281.67 51.43% 72.55%)
OKLCHoklch(0.74 0.11 315.22)
CMYKcmyk(9.95% 32.58% 0% 13.33%)
Android#ffc795dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.39:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.77: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="#c795dd"
Gradient stop
<stop stop-color="#c795dd"/>
CSS variable + fill
:root { --c: #c795dd; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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