Skip to content
Vectorlight.net

#cd5af4

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

HEX
#cd5af4
RGB
205, 90, 244
HSL
284.81°, 87.5%, 65.49%
OKLCH
0.67 0.23 316.5
Names
—
Lists

Codes

FormatValue
HEX#cd5af4
RGBrgb(205 90 244)
HSLhsl(284.81 87.5% 65.49%)
OKLCHoklch(0.67 0.23 316.5)
CMYKcmyk(15.98% 63.11% 0% 4.31%)
Android#ffcd5af4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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