#665fe3
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 | #665fe3 | |
| RGB | rgb(102 95 227) | |
| HSL | hsl(243.18 70.21% 63.14%) | |
| OKLCH | oklch(0.56 0.19 280.57) | |
| CMYK | cmyk(55.07% 58.15% 0% 10.98%) | |
| Android | #ff665fe3 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.87:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.31: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="#665fe3"
Gradient stop
<stop stop-color="#665fe3"/>
CSS variable + fill
:root { --c: #665fe3; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #665fe3; background-color: #665fe3; bg-[#665fe3]