Skip to content
Vectorlight.net

#b287ee

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

HEX
#b287ee
RGB
178, 135, 238
HSL
265.05°, 75.18%, 73.14%
OKLCH
0.71 0.15 301.92
Names
—
Lists

Codes

FormatValue
HEX#b287ee
RGBrgb(178 135 238)
HSLhsl(265.05 75.18% 73.14%)
OKLCHoklch(0.71 0.15 301.92)
CMYKcmyk(25.21% 43.28% 0% 6.67%)
Android#ffb287ee

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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