#c27bed
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 | #c27bed | |
| RGB | rgb(194 123 237) | |
| HSL | hsl(277.37 76% 70.59%) | |
| OKLCH | oklch(0.7 0.17 311.4) | |
| CMYK | cmyk(18.14% 48.1% 0% 7.06%) | |
| Android | #ffc27bed |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.85:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.34: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="#c27bed"
Gradient stop
<stop stop-color="#c27bed"/>
CSS variable + fill
:root { --c: #c27bed; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #c27bed; background-color: #c27bed; bg-[#c27bed]