Skip to content
Vectorlight.net

#f267dc

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

HEX
#f267dc
RGB
242, 103, 220
HSL
309.5°, 84.24%, 67.65%
OKLCH
0.72 0.22 334.15
Names
—
Lists

Codes

FormatValue
HEX#f267dc
RGBrgb(242 103 220)
HSLhsl(309.5 84.24% 67.65%)
OKLCHoklch(0.72 0.22 334.15)
CMYKcmyk(0% 57.44% 9.09% 5.1%)
Android#fff267dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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