Skip to content
Vectorlight.net

#cb8afa

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

HEX
#cb8afa
RGB
203, 138, 250
HSL
274.82°, 91.8%, 76.08%
OKLCH
0.74 0.17 309.61
Names
—
Lists

Codes

FormatValue
HEX#cb8afa
RGBrgb(203 138 250)
HSLhsl(274.82 91.8% 76.08%)
OKLCHoklch(0.74 0.17 309.61)
CMYKcmyk(18.8% 44.8% 0% 1.96%)
Android#ffcb8afa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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