Skip to content
Vectorlight.net

#ea6afb

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

HEX
#ea6afb
RGB
234, 106, 251
HSL
292.97°, 94.77%, 70%
OKLCH
0.73 0.23 322.83
Names
—
Lists

Codes

FormatValue
HEX#ea6afb
RGBrgb(234 106 251)
HSLhsl(292.97 94.77% 70%)
OKLCHoklch(0.73 0.23 322.83)
CMYKcmyk(6.77% 57.77% 0% 1.57%)
Android#ffea6afb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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