#6250fa
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 | #6250fa | |
| RGB | rgb(98 80 250) | |
| HSL | hsl(246.35 94.44% 64.71%) | |
| OKLCH | oklch(0.56 0.24 279.92) | |
| CMYK | cmyk(60.8% 68% 0% 1.96%) | |
| Android | #ff6250fa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.18:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.04: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="#6250fa"
Gradient stop
<stop stop-color="#6250fa"/>
CSS variable + fill
:root { --c: #6250fa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #6250fa; background-color: #6250fa; bg-[#6250fa]