Skip to content
Vectorlight.net

#c66bfb

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

HEX
#c66bfb
RGB
198, 107, 251
HSL
277.92°, 94.74%, 70.2%
OKLCH
0.69 0.22 311.19
Names
—
Lists

Codes

FormatValue
HEX#c66bfb
RGBrgb(198 107 251)
HSLhsl(277.92 94.74% 70.2%)
OKLCHoklch(0.69 0.22 311.19)
CMYKcmyk(21.12% 57.37% 0% 1.57%)
Android#ffc66bfb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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