Skip to content
Vectorlight.net

#c227da

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

HEX
#c227da
RGB
194, 39, 218
HSL
291.96°, 70.75%, 50.39%
OKLCH
0.6 0.26 321.65
Names
—
Lists

Codes

FormatValue
HEX#c227da
RGBrgb(194 39 218)
HSLhsl(291.96 70.75% 50.39%)
OKLCHoklch(0.6 0.26 321.65)
CMYKcmyk(11.01% 82.11% 0% 14.51%)
Android#ffc227da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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