Skip to content
Vectorlight.net

#cd81ea

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

HEX
#cd81ea
RGB
205, 129, 234
HSL
283.43°, 71.43%, 71.18%
OKLCH
0.72 0.17 316.13
Names
—
Lists

Codes

FormatValue
HEX#cd81ea
RGBrgb(205 129 234)
HSLhsl(283.43 71.43% 71.18%)
OKLCHoklch(0.72 0.17 316.13)
CMYKcmyk(12.39% 44.87% 0% 8.24%)
Android#ffcd81ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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