Skip to content
Vectorlight.net

#cc82fa

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

HEX
#cc82fa
RGB
204, 130, 250
HSL
277°, 92.31%, 74.51%
OKLCH
0.73 0.18 311.11
Names
—
Lists

Codes

FormatValue
HEX#cc82fa
RGBrgb(204 130 250)
HSLhsl(277 92.31% 74.51%)
OKLCHoklch(0.73 0.18 311.11)
CMYKcmyk(18.4% 48% 0% 1.96%)
Android#ffcc82fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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