#c45efa
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 | #c45efa | |
| RGB | rgb(196 94 250) | |
| HSL | hsl(279.23 93.98% 67.45%) | |
| OKLCH | oklch(0.67 0.23 311.9) | |
| CMYK | cmyk(21.6% 62.4% 0% 1.96%) | |
| Android | #ffc45efa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.31:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.32: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="#c45efa"
Gradient stop
<stop stop-color="#c45efa"/>
CSS variable + fill
:root { --c: #c45efa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c45efa; background-color: #c45efa; bg-[#c45efa]