#D98CE5

#d98ce5 ≈ Violet

  • magenta
  • Lightness: high
  • Saturation: moderate
  • Balanced

#d98ce5 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 89.8% blue; printed in CMYK it uses 5.24% cyan, 38.86% magenta, 0% yellow and 10.2% black. Its hue angle is 291.91°, with 63.12% saturation and 72.35% 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.83:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 4.05.

Description generated from the measured properties of this color.

Conversions of #d98ce5 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#cc99cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.3917

Readable text 2.38:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.83:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a8a8a8 ≈ 0.003% of males
Achromatomaly #be9ec3 ≈ 0.001% of males
Protanopia #81a2e8 ≈ 1.01% of males
Deuteranopia #95abe2 ≈ 1.27% of males
Tritanopia #db96ae ≈ 0.0001% of males
Protanomaly #ac9ae7 ≈ 1.08% of males
Deuteranomaly #b4a0e3 ≈ 4.63% of males
Tritanomaly #da92c6 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d98ce5 {
  color: #d98ce5;
}
Background
.bg-d98ce5 {
  background-color: #d98ce5;
  color: #000000;
}
Border
.border-d98ce5 {
  border: 2px solid #d98ce5;
}
CSS variables
:root {
  --color-primary: #d98ce5;
  --color-primary-rgb: 217 140 229;
  --color-primary-hsl: 292 63% 72%;
}
Gradient
.gradient-d98ce5 {
  background: linear-gradient(135deg, #d98ce5, #e58cc4);
}
Colored shadow
.shadow-d98ce5 {
  box-shadow: 0 8px 24px rgb(217 140 229 / 0.35);
}

Violet
#d98ce5  rgb(217, 140, 229)  hsl(292, 63%, 72%)  Violet
#98e58c  rgb(152, 229, 140)  hsl(112, 63%, 72%)  Light Green
#e5d98c  rgb(229, 217, 140)  hsl(52, 63%, 72%)  Flax
#8ce5d9  rgb(140, 229, 217)  hsl(172, 63%, 72%)  Turquoise