Skip to content
Vectorlight.net

#d03aef

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

HEX
#d03aef
RGB
208, 58, 239
HSL
289.72°, 84.98%, 58.24%
OKLCH
0.64 0.27 319.99
Names
—
Lists

Codes

FormatValue
HEX#d03aef
RGBrgb(208 58 239)
HSLhsl(289.72 84.98% 58.24%)
OKLCHoklch(0.64 0.27 319.99)
CMYKcmyk(12.97% 75.73% 0% 6.27%)
Android#ffd03aef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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