Skip to content
Vectorlight.net

#cd79fa

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

HEX
#cd79fa
RGB
205, 121, 250
HSL
279.07°, 92.81%, 72.75%
OKLCH
0.72 0.2 312.52
Names
—
Lists

Codes

FormatValue
HEX#cd79fa
RGBrgb(205 121 250)
HSLhsl(279.07 92.81% 72.75%)
OKLCHoklch(0.72 0.2 312.52)
CMYKcmyk(18% 51.6% 0% 1.96%)
Android#ffcd79fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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