#6838dd
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #6838dd | |
| RGB | rgb(104 56 221) | |
| HSL | hsl(257.45 70.82% 54.31%) | |
| OKLCH | oklch(0.51 0.23 288.45) | |
| CMYK | cmyk(52.94% 74.66% 0% 13.33%) | |
| Android | #ff6838dd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.56:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.19:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#6838dd"
Gradient stop
<stop stop-color="#6838dd"/>
CSS variable + fill
:root { --c: #6838dd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6838dd; background-color: #6838dd; bg-[#6838dd]