#524eee
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 | #524eee | |
| RGB | rgb(82 78 238) | |
| HSL | hsl(241.5 82.47% 61.96%) | |
| OKLCH | oklch(0.53 0.23 276.18) | |
| CMYK | cmyk(65.55% 67.23% 0% 6.67%) | |
| Android | #ff524eee |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.70:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.68: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="#524eee"
Gradient stop
<stop stop-color="#524eee"/>
CSS variable + fill
:root { --c: #524eee; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #524eee; background-color: #524eee; bg-[#524eee]