Skip to content
Vectorlight.net

#6838da

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

HEX
#6838da
RGB
104, 56, 218
HSL
257.78°, 68.64%, 53.73%
OKLCH
0.5 0.23 288.93
Names
—
Lists

Codes

FormatValue
HEX#6838da
RGBrgb(104 56 218)
HSLhsl(257.78 68.64% 53.73%)
OKLCHoklch(0.5 0.23 288.93)
CMYKcmyk(52.29% 74.31% 0% 14.51%)
Android#ff6838da

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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