Skip to content
Vectorlight.net

#cf97db

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

HEX
#cf97db
RGB
207, 151, 219
HSL
289.41°, 48.57%, 72.55%
OKLCH
0.75 0.11 320.36
Names
—
Lists

Codes

FormatValue
HEX#cf97db
RGBrgb(207 151 219)
HSLhsl(289.41 48.57% 72.55%)
OKLCHoklch(0.75 0.11 320.36)
CMYKcmyk(5.48% 31.05% 0% 14.12%)
Android#ffcf97db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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