Skip to content
Vectorlight.net

#c272ff

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

HEX
#c272ff
RGB
194, 114, 255
HSL
274.04°, 100%, 72.35%
OKLCH
0.7 0.21 308.12
Names
—
Lists

Codes

FormatValue
HEX#c272ff
RGBrgb(194 114 255)
HSLhsl(274.04 100% 72.35%)
OKLCHoklch(0.7 0.21 308.12)
CMYKcmyk(23.92% 55.29% 0% 0%)
Android#ffc272ff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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