#d98cef ≈ Violet
#d98cef is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 85.1% red, 54.9% green and 93.73% blue; printed in CMYK it uses 9.21% cyan, 41.42% magenta, 0% yellow and 6.27% black. Its hue angle is 286.67°, with 75.57% saturation and 74.31% 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 brand accents. Black text on this color reaches a contrast ratio of 8.95:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 4.23.
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.3974 |
Shades
#d98cef mixed progressively with black.
Tints
#d98cef mixed progressively with white.
Tones
#d98cef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d98cef {
color: #d98cef;
}
.bg-d98cef {
background-color: #d98cef;
color: #000000;
}
.border-d98cef {
border: 2px solid #d98cef;
}
:root {
--color-primary: #d98cef;
--color-primary-rgb: 217 140 239;
--color-primary-hsl: 287 76% 74%;
}
.gradient-d98cef {
background: linear-gradient(135deg, #d98cef, #ef8cd3);
}
.shadow-d98cef {
box-shadow: 0 8px 24px rgb(217 140 239 / 0.35);
}
Violet
#d98cef rgb(217, 140, 239) hsl(287, 76%, 74%) Violet
#a2ef8c rgb(162, 239, 140) hsl(107, 76%, 74%) Light Green
#efd98c rgb(239, 217, 140) hsl(47, 76%, 74%) Buff
#8cefd9 rgb(140, 239, 217) hsl(167, 76%, 74%) Magic Mint