#663cdb
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 | #663cdb | |
| RGB | rgb(102 60 219) | |
| HSL | hsl(255.85 68.83% 54.71%) | |
| OKLCH | oklch(0.51 0.23 287.52) | |
| CMYK | cmyk(53.42% 72.6% 0% 14.12%) | |
| Android | #ff663cdb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
6.49:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.23:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#663cdb"
Gradient stop
<stop stop-color="#663cdb"/>
CSS variable + fill
:root { --c: #663cdb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #663cdb; background-color: #663cdb; bg-[#663cdb]