Skip to content
Vectorlight.net

#ea87cd

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

HEX
#ea87cd
RGB
234, 135, 205
HSL
317.58°, 70.21%, 72.35%
OKLCH
0.75 0.15 338.94
Names
—
Lists

Codes

FormatValue
HEX#ea87cd
RGBrgb(234 135 205)
HSLhsl(317.58 70.21% 72.35%)
OKLCHoklch(0.75 0.15 338.94)
CMYKcmyk(0% 42.31% 12.39% 8.24%)
Android#ffea87cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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