#cf89fd
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 | #cf89fd | |
| RGB | rgb(207 137 253) | |
| HSL | hsl(276.21 96.67% 76.47%) | |
| OKLCH | oklch(0.75 0.17 310.63) | |
| CMYK | cmyk(18.18% 45.85% 0% 0.78%) | |
| Android | #ffcf89fd |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.42:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.64: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="#cf89fd"
Gradient stop
<stop stop-color="#cf89fd"/>
CSS variable + fill
:root { --c: #cf89fd; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #cf89fd; background-color: #cf89fd; bg-[#cf89fd]