#7938db
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 | #7938db | |
| RGB | rgb(121 56 219) | |
| HSL | hsl(263.93 69.36% 53.92%) | |
| OKLCH | oklch(0.52 0.23 295.34) | |
| CMYK | cmyk(44.75% 74.43% 0% 14.12%) | |
| Android | #ff7938db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.17:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.40: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="#7938db"
Gradient stop
<stop stop-color="#7938db"/>
CSS variable + fill
:root { --c: #7938db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #7938db; background-color: #7938db; bg-[#7938db]