Skip to content
Vectorlight.net

#665fed

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

HEX
#665fed
RGB
102, 95, 237
HSL
242.96°, 79.78%, 65.1%
OKLCH
0.57 0.21 279.82
Names
—
Lists

Codes

FormatValue
HEX#665fed
RGBrgb(102 95 237)
HSLhsl(242.96 79.78% 65.1%)
OKLCHoklch(0.57 0.21 279.82)
CMYKcmyk(56.96% 59.92% 0% 7.06%)
Android#ff665fed

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.74:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.42:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#665fed"
Gradient stop
<stop stop-color="#665fed"/>
CSS variable + fill
:root { --c: #665fed; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #665fed;
background-color: #665fed;
bg-[#665fed]