Skip to content
Vectorlight.net

#cf5aff

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

HEX
#cf5aff
RGB
207, 90, 255
HSL
282.55°, 100%, 67.65%
OKLCH
0.68 0.25 314.53
Names
—
Lists

Codes

FormatValue
HEX#cf5aff
RGBrgb(207 90 255)
HSLhsl(282.55 100% 67.65%)
OKLCHoklch(0.68 0.25 314.53)
CMYKcmyk(18.82% 64.71% 0% 0%)
Android#ffcf5aff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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