#ef87f2 ≈ Violet
#ef87f2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 93.73% red, 52.94% green and 94.9% blue; printed in CMYK it uses 1.24% cyan, 44.21% magenta, 0% yellow and 5.1% black. Its hue angle is 298.32°, with 80.45% saturation and 73.92% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 9.42:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 1.1.
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.4209 |
Shades
#ef87f2 mixed progressively with black.
Tints
#ef87f2 mixed progressively with white.
Tones
#ef87f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ef87f2 {
color: #ef87f2;
}
.bg-ef87f2 {
background-color: #ef87f2;
color: #000000;
}
.border-ef87f2 {
border: 2px solid #ef87f2;
}
:root {
--color-primary: #ef87f2;
--color-primary-rgb: 239 135 242;
--color-primary-hsl: 298 80% 74%;
}
.gradient-ef87f2 {
background: linear-gradient(135deg, #ef87f2, #f287bf);
}
.shadow-ef87f2 {
box-shadow: 0 8px 24px rgb(239 135 242 / 0.35);
}
Violet
#ef87f2 rgb(239, 135, 242) hsl(298, 80%, 74%) Violet
#8af287 rgb(138, 242, 135) hsl(118, 80%, 74%) Light Green
#f2ef87 rgb(242, 239, 135) hsl(58, 80%, 74%) Pastel Yellow
#87f2ef rgb(135, 242, 239) hsl(178, 80%, 74%) Electric Blue