#bf98e8
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 | #bf98e8 | |
| RGB | rgb(191 152 232) | |
| HSL | hsl(269.25 63.49% 75.29%) | |
| OKLCH | oklch(0.74 0.12 306.06) | |
| CMYK | cmyk(17.67% 34.48% 0% 9.02%) | |
| Android | #ffbf98e8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.36:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.87: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="#bf98e8"
Gradient stop
<stop stop-color="#bf98e8"/>
CSS variable + fill
:root { --c: #bf98e8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bf98e8; background-color: #bf98e8; bg-[#bf98e8]