Skip to content
Vectorlight.net

#bd7aff

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

HEX
#bd7aff
RGB
189, 122, 255
HSL
270.23°, 100%, 73.92%
OKLCH
0.7 0.19 305.21
Names
—
Lists

Codes

FormatValue
HEX#bd7aff
RGBrgb(189 122 255)
HSLhsl(270.23 100% 73.92%)
OKLCHoklch(0.7 0.19 305.21)
CMYKcmyk(25.88% 52.16% 0% 0%)
Android#ffbd7aff

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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