Skip to content
Vectorlight.net

#6838aa

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

HEX
#6838aa
RGB
104, 56, 170
HSL
265.26°, 50.44%, 44.31%
OKLCH
0.46 0.17 298.71
Names
—
Lists

Codes

FormatValue
HEX#6838aa
RGBrgb(104 56 170)
HSLhsl(265.26 50.44% 44.31%)
OKLCHoklch(0.46 0.17 298.71)
CMYKcmyk(38.82% 67.06% 0% 33.33%)
Android#ff6838aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.67:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.73:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

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="#6838aa"
Gradient stop
<stop stop-color="#6838aa"/>
CSS variable + fill
:root { --c: #6838aa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #6838aa;
background-color: #6838aa;
bg-[#6838aa]