Skip to content
Vectorlight.net

#cb4af8

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

HEX
#cb4af8
RGB
203, 74, 248
HSL
284.48°, 92.55%, 63.14%
OKLCH
0.66 0.26 315.82
Names
—
Lists

Codes

FormatValue
HEX#cb4af8
RGBrgb(203 74 248)
HSLhsl(284.48 92.55% 63.14%)
OKLCHoklch(0.66 0.26 315.82)
CMYKcmyk(18.15% 70.16% 0% 2.75%)
Android#ffcb4af8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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