Skip to content
Vectorlight.net

#c262fa

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

HEX
#c262fa
RGB
194, 98, 250
HSL
277.89°, 93.83%, 68.24%
OKLCH
0.67 0.23 310.89
Names
—
Lists

Codes

FormatValue
HEX#c262fa
RGBrgb(194 98 250)
HSLhsl(277.89 93.83% 68.24%)
OKLCHoklch(0.67 0.23 310.89)
CMYKcmyk(22.4% 60.8% 0% 1.96%)
Android#ffc262fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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