#ff98f4 ≈ Violet
#ff98f4 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 95.69% blue; printed in CMYK it uses 0% cyan, 40.39% magenta, 4.31% yellow and 0% black. Its hue angle is 306.41°, 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.05:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 5.52.
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.5025 |
Shades
#ff98f4 mixed progressively with black.
Tints
#ff98f4 mixed progressively with white.
Tones
#ff98f4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ff98f4 {
color: #ff98f4;
}
.bg-ff98f4 {
background-color: #ff98f4;
color: #000000;
}
.border-ff98f4 {
border: 2px solid #ff98f4;
}
:root {
--color-primary: #ff98f4;
--color-primary-rgb: 255 152 244;
--color-primary-hsl: 306 100% 80%;
}
.gradient-ff98f4 {
background: linear-gradient(135deg, #ff98f4, #ff98c0);
}
.shadow-ff98f4 {
box-shadow: 0 8px 24px rgb(255 152 244 / 0.35);
}
Violet
#ff98f4 rgb(255, 152, 244) hsl(306, 100%, 80%) Violet
#98ffa3 rgb(152, 255, 163) hsl(126, 100%, 80%) Pale Green
#f4ff98 rgb(244, 255, 152) hsl(66, 100%, 80%) Pastel Yellow
#98f4ff rgb(152, 244, 255) hsl(186, 100%, 80%) Electric Blue