Skip to content
Vectorlight.net

#cb74ea

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

HEX
#cb74ea
RGB
203, 116, 234
HSL
284.24°, 73.75%, 68.63%
OKLCH
0.7 0.19 316.56
Names
—
Lists

Codes

FormatValue
HEX#cb74ea
RGBrgb(203 116 234)
HSLhsl(284.24 73.75% 68.63%)
OKLCHoklch(0.7 0.19 316.56)
CMYKcmyk(13.25% 50.43% 0% 8.24%)
Android#ffcb74ea

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.22: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="#cb74ea"
Gradient stop
<stop stop-color="#cb74ea"/>
CSS variable + fill
:root { --c: #cb74ea; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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