#751aac
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 | #751aac | |
| RGB | rgb(117 26 172) | |
| HSL | hsl(277.4 73.74% 38.82%) | |
| OKLCH | oklch(0.45 0.21 307.59) | |
| CMYK | cmyk(31.98% 84.88% 0% 32.55%) | |
| Android | #ff751aac |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.40:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.49:1
Fail AA normal text
Fail 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="#751aac"
Gradient stop
<stop stop-color="#751aac"/>
CSS variable + fill
:root { --c: #751aac; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #751aac; background-color: #751aac; bg-[#751aac]