Skip to content
Vectorlight.net

#ca9fdb

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

HEX
#ca9fdb
RGB
202, 159, 219
HSL
283°, 45.45%, 74.12%
OKLCH
0.76 0.1 316.23
Names
—
Lists

Codes

FormatValue
HEX#ca9fdb
RGBrgb(202 159 219)
HSLhsl(283 45.45% 74.12%)
OKLCHoklch(0.76 0.1 316.23)
CMYKcmyk(7.76% 27.4% 0% 14.12%)
Android#ffca9fdb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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