#f98ef2 ≈ Violet
#f98ef2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 97.65% red, 55.69% green and 94.9% blue; printed in CMYK it uses 0% cyan, 42.97% magenta, 2.81% yellow and 2.35% black. Its hue angle is 303.93°, with 89.92% saturation and 76.67% 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 10.18:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 3.18.
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.459 |
Shades
#f98ef2 mixed progressively with black.
Tints
#f98ef2 mixed progressively with white.
Tones
#f98ef2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-f98ef2 {
color: #f98ef2;
}
.bg-f98ef2 {
background-color: #f98ef2;
color: #000000;
}
.border-f98ef2 {
border: 2px solid #f98ef2;
}
:root {
--color-primary: #f98ef2;
--color-primary-rgb: 249 142 242;
--color-primary-hsl: 304 90% 77%;
}
.gradient-f98ef2 {
background: linear-gradient(135deg, #f98ef2, #f98ebd);
}
.shadow-f98ef2 {
box-shadow: 0 8px 24px rgb(249 142 242 / 0.35);
}
Violet
#f98ef2 rgb(249, 142, 242) hsl(304, 90%, 77%) Violet
#8ef995 rgb(142, 249, 149) hsl(124, 90%, 77%) Pale Green
#f2f98e rgb(242, 249, 142) hsl(64, 90%, 77%) Pastel Yellow
#8ef2f9 rgb(142, 242, 249) hsl(184, 90%, 77%) Electric Blue