#c248df
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 | #c248df | |
| RGB | rgb(194 72 223) | |
| HSL | hsl(288.48 70.23% 57.84%) | |
| OKLCH | oklch(0.63 0.23 319.29) | |
| CMYK | cmyk(13% 67.71% 0% 12.55%) | |
| Android | #ffc248df |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.97:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.28: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="#c248df"
Gradient stop
<stop stop-color="#c248df"/>
CSS variable + fill
:root { --c: #c248df; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c248df; background-color: #c248df; bg-[#c248df]