Skip to content
Vectorlight.net

#cf5aeb

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

HEX
#cf5aeb
RGB
207, 90, 235
HSL
288.41°, 78.38%, 63.73%
OKLCH
0.67 0.23 319.41
Names
—
Lists

Codes

FormatValue
HEX#cf5aeb
RGBrgb(207 90 235)
HSLhsl(288.41 78.38% 63.73%)
OKLCHoklch(0.67 0.23 319.41)
CMYKcmyk(11.91% 61.7% 0% 7.84%)
Android#ffcf5aeb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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