Skip to content
Vectorlight.net

#665ecd

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

HEX
#665ecd
RGB
102, 94, 205
HSL
244.32°, 52.61%, 58.63%
OKLCH
0.55 0.17 282.67
Names
—
Lists

Codes

FormatValue
HEX#665ecd
RGBrgb(102 94 205)
HSLhsl(244.32 52.61% 58.63%)
OKLCHoklch(0.55 0.17 282.67)
CMYKcmyk(50.24% 54.15% 0% 19.61%)
Android#ff665ecd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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