Skip to content
Vectorlight.net

#f138dd

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

HEX
#f138dd
RGB
241, 56, 221
HSL
306.49°, 86.85%, 58.24%
OKLCH
0.68 0.27 333.13
Names
—
Lists

Codes

FormatValue
HEX#f138dd
RGBrgb(241 56 221)
HSLhsl(306.49 86.85% 58.24%)
OKLCHoklch(0.68 0.27 333.13)
CMYKcmyk(0% 76.76% 8.3% 5.49%)
Android#fff138dd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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