#ca54eb
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 | #ca54eb | |
| RGB | rgb(202 84 235) | |
| HSL | hsl(286.89 79.06% 62.55%) | |
| OKLCH | oklch(0.66 0.23 318.13) | |
| CMYK | cmyk(14.04% 64.26% 0% 7.84%) | |
| Android | #ffca54eb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.51:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.97: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="#ca54eb"
Gradient stop
<stop stop-color="#ca54eb"/>
CSS variable + fill
:root { --c: #ca54eb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ca54eb; background-color: #ca54eb; bg-[#ca54eb]