#c19afb
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 | #c19afb | |
| RGB | rgb(193 154 251) | |
| HSL | hsl(264.12 92.38% 79.41%) | |
| OKLCH | oklch(0.76 0.14 301.66) | |
| CMYK | cmyk(23.11% 38.65% 0% 1.57%) | |
| Android | #ffc19afb |
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.28: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="#c19afb"
Gradient stop
<stop stop-color="#c19afb"/>
CSS variable + fill
:root { --c: #c19afb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c19afb; background-color: #c19afb; bg-[#c19afb]