#ff97ff ≈ Violet
#ff97ff is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 100% red, 59.22% green and 100% blue; printed in CMYK it uses 0% cyan, 40.78% magenta, 0% yellow and 0% black. Its hue angle is 300°, with 100% saturation and 79.61% 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.12:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 5.09.
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.5061 |
Shades
#ff97ff mixed progressively with black.
Tints
#ff97ff mixed progressively with white.
Tones
#ff97ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ff97ff {
color: #ff97ff;
}
.bg-ff97ff {
background-color: #ff97ff;
color: #000000;
}
.border-ff97ff {
border: 2px solid #ff97ff;
}
:root {
--color-primary: #ff97ff;
--color-primary-rgb: 255 151 255;
--color-primary-hsl: 300 100% 80%;
}
.gradient-ff97ff {
background: linear-gradient(135deg, #ff97ff, #ff97cb);
}
.shadow-ff97ff {
box-shadow: 0 8px 24px rgb(255 151 255 / 0.35);
}
Violet
#ff97ff rgb(255, 151, 255) hsl(300, 100%, 80%) Violet
#97ff97 rgb(151, 255, 151) hsl(120, 100%, 80%) Mint Green
#ffff97 rgb(255, 255, 151) hsl(60, 100%, 80%) Pastel Yellow
#97ffff rgb(151, 255, 255) hsl(180, 100%, 80%) Electric Blue