Skip to content
Vectorlight.net

#cb74eb

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

HEX
#cb74eb
RGB
203, 116, 235
HSL
283.87°, 74.84%, 68.82%
OKLCH
0.7 0.19 316.28
Names
—
Lists

Codes

FormatValue
HEX#cb74eb
RGBrgb(203 116 235)
HSLhsl(283.87 74.84% 68.82%)
OKLCHoklch(0.7 0.19 316.28)
CMYKcmyk(13.62% 50.64% 0% 7.84%)
Android#ffcb74eb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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