#cd83fb
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 | #cd83fb | |
| RGB | rgb(205 131 251) | |
| HSL | hsl(277 93.75% 74.9%) | |
| OKLCH | oklch(0.73 0.18 311.12) | |
| CMYK | cmyk(18.33% 47.81% 0% 1.57%) | |
| Android | #ffcd83fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.54:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.23: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="#cd83fb"
Gradient stop
<stop stop-color="#cd83fb"/>
CSS variable + fill
:root { --c: #cd83fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cd83fb; background-color: #cd83fb; bg-[#cd83fb]