#d283f2
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 | #d283f2 | |
| RGB | rgb(210 131 242) | |
| HSL | hsl(282.7 81.02% 73.14%) | |
| OKLCH | oklch(0.73 0.17 315.57) | |
| CMYK | cmyk(13.22% 45.87% 0% 5.1%) | |
| Android | #ffd283f2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.53:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.26: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="#d283f2"
Gradient stop
<stop stop-color="#d283f2"/>
CSS variable + fill
:root { --c: #d283f2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d283f2; background-color: #d283f2; bg-[#d283f2]