Skip to content
Vectorlight.net

#b268cd

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

HEX
#b268cd
RGB
178, 104, 205
HSL
283.96°, 50.25%, 60.59%
OKLCH
0.64 0.16 316.4
Names
—
Lists

Codes

FormatValue
HEX#b268cd
RGBrgb(178 104 205)
HSLhsl(283.96 50.25% 60.59%)
OKLCHoklch(0.64 0.16 316.4)
CMYKcmyk(13.17% 49.27% 0% 19.61%)
Android#ffb268cd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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