Skip to content
Vectorlight.net

#c64aba

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

HEX
#c64aba
RGB
198, 74, 186
HSL
305.81°, 52.1%, 53.33%
OKLCH
0.62 0.2 331.75
Names
—
Lists

Codes

FormatValue
HEX#c64aba
RGBrgb(198 74 186)
HSLhsl(305.81 52.1% 53.33%)
OKLCHoklch(0.62 0.2 331.75)
CMYKcmyk(0% 62.63% 6.06% 22.35%)
Android#ffc64aba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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