#ce98fb
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 | #ce98fb | |
| RGB | rgb(206 152 251) | |
| HSL | hsl(272.73 92.52% 79.02%) | |
| OKLCH | oklch(0.77 0.15 308.36) | |
| CMYK | cmyk(17.93% 39.44% 0% 1.57%) | |
| Android | #ffce98fb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.20:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.50: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="#ce98fb"
Gradient stop
<stop stop-color="#ce98fb"/>
CSS variable + fill
:root { --c: #ce98fb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ce98fb; background-color: #ce98fb; bg-[#ce98fb]