Skip to content
Vectorlight.net

#665ff5

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

HEX
#665ff5
RGB
102, 95, 245
HSL
242.8°, 88.24%, 66.67%
OKLCH
0.58 0.22 279.25
Names
—
Lists

Codes

FormatValue
HEX#665ff5
RGBrgb(102 95 245)
HSLhsl(242.8 88.24% 66.67%)
OKLCHoklch(0.58 0.22 279.25)
CMYKcmyk(58.37% 61.22% 0% 3.92%)
Android#ff665ff5

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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