Skip to content
Vectorlight.net

#665fac

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

HEX
#665fac
RGB
102, 95, 172
HSL
245.45°, 31.69%, 52.35%
OKLCH
0.53 0.12 285.73
Names
—
Lists

Codes

FormatValue
HEX#665fac
RGBrgb(102 95 172)
HSLhsl(245.45 31.69% 52.35%)
OKLCHoklch(0.53 0.12 285.73)
CMYKcmyk(40.7% 44.77% 0% 32.55%)
Android#ff665fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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