#c299fd
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 | #c299fd | |
| RGB | rgb(194 153 253) | |
| HSL | hsl(264.6 96.15% 79.61%) | |
| OKLCH | oklch(0.76 0.15 301.95) | |
| CMYK | cmyk(23.32% 39.53% 0% 0.78%) | |
| Android | #ffc299fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.26:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.26: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="#c299fd"
Gradient stop
<stop stop-color="#c299fd"/>
CSS variable + fill
:root { --c: #c299fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c299fd; background-color: #c299fd; bg-[#c299fd]