Skip to content
Vectorlight.net

#b270ea

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

HEX
#b270ea
RGB
178, 112, 234
HSL
272.46°, 74.39%, 67.84%
OKLCH
0.67 0.18 307.12
Names
—
Lists

Codes

FormatValue
HEX#b270ea
RGBrgb(178 112 234)
HSLhsl(272.46 74.39% 67.84%)
OKLCHoklch(0.67 0.18 307.12)
CMYKcmyk(23.93% 52.14% 0% 8.24%)
Android#ffb270ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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