#d98df2 ≈ Violet
#d98df2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 85.1% red, 55.29% green and 94.9% blue; printed in CMYK it uses 10.33% cyan, 41.74% magenta, 0% yellow and 5.1% black. Its hue angle is 285.15°, with 79.53% saturation and 75.1% 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 9.04:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 4.53.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc99ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4021 |
Shades
#d98df2 mixed progressively with black.
Tints
#d98df2 mixed progressively with white.
Tones
#d98df2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d98df2 {
color: #d98df2;
}
.bg-d98df2 {
background-color: #d98df2;
color: #000000;
}
.border-d98df2 {
border: 2px solid #d98df2;
}
:root {
--color-primary: #d98df2;
--color-primary-rgb: 217 141 242;
--color-primary-hsl: 285 80% 75%;
}
.gradient-d98df2 {
background: linear-gradient(135deg, #d98df2, #f28dd9);
}
.shadow-d98df2 {
box-shadow: 0 8px 24px rgb(217 141 242 / 0.35);
}
Violet
#d98df2 rgb(217, 141, 242) hsl(285, 80%, 75%) Violet
#a6f28d rgb(166, 242, 141) hsl(105, 80%, 75%) Light Green
#f2d98d rgb(242, 217, 141) hsl(45, 80%, 75%) Buff
#8df2d9 rgb(141, 242, 217) hsl(165, 80%, 75%) Magic Mint