Skip to content
Vectorlight.net

#c270fa

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

HEX
#c270fa
RGB
194, 112, 250
HSL
275.65°, 93.24%, 70.98%
OKLCH
0.69 0.21 309.48
Names
—
Lists

Codes

FormatValue
HEX#c270fa
RGBrgb(194 112 250)
HSLhsl(275.65 93.24% 70.98%)
OKLCHoklch(0.69 0.21 309.48)
CMYKcmyk(22.4% 55.2% 0% 1.96%)
Android#ffc270fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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