Skip to content
Vectorlight.net

#c772eb

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

HEX
#c772eb
RGB
199, 114, 235
HSL
282.15°, 75.16%, 68.43%
OKLCH
0.69 0.19 314.94
Names
—
Lists

Codes

FormatValue
HEX#c772eb
RGBrgb(199 114 235)
HSLhsl(282.15 75.16% 68.43%)
OKLCHoklch(0.69 0.19 314.94)
CMYKcmyk(15.32% 51.49% 0% 7.84%)
Android#ffc772eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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