#d57ef8
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 | #d57ef8 | |
| RGB | rgb(213 126 248) | |
| HSL | hsl(282.79 89.71% 73.33%) | |
| OKLCH | oklch(0.73 0.19 315.51) | |
| CMYK | cmyk(14.11% 49.19% 0% 2.75%) | |
| Android | #ffd57ef8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.57:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.16:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#d57ef8"
Gradient stop
<stop stop-color="#d57ef8"/>
CSS variable + fill
:root { --c: #d57ef8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d57ef8; background-color: #d57ef8; bg-[#d57ef8]