#ff98ff ≈ Violet
#ff98ff is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 100% red, 59.61% green and 100% blue; printed in CMYK it uses 0% cyan, 40.39% magenta, 0% yellow and 0% black. Its hue angle is 300°, with 100% saturation and 79.8% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and soft pastel palettes. Black text on this color reaches a contrast ratio of 11.19:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 5.25.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #ff99ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.5094 |
Shades
#ff98ff mixed progressively with black.
Tints
#ff98ff mixed progressively with white.
Tones
#ff98ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ff98ff {
color: #ff98ff;
}
.bg-ff98ff {
background-color: #ff98ff;
color: #000000;
}
.border-ff98ff {
border: 2px solid #ff98ff;
}
:root {
--color-primary: #ff98ff;
--color-primary-rgb: 255 152 255;
--color-primary-hsl: 300 100% 80%;
}
.gradient-ff98ff {
background: linear-gradient(135deg, #ff98ff, #ff98cb);
}
.shadow-ff98ff {
box-shadow: 0 8px 24px rgb(255 152 255 / 0.35);
}
Violet
#ff98ff rgb(255, 152, 255) hsl(300, 100%, 80%) Violet
#98ff98 rgb(152, 255, 152) hsl(120, 100%, 80%) Mint Green
#ffff98 rgb(255, 255, 152) hsl(60, 100%, 80%) Pastel Yellow
#98ffff rgb(152, 255, 255) hsl(180, 100%, 80%) Electric Blue