#D18EF2

#d18ef2 ≈ Violet

  • magenta
  • Lightness: high
  • Saturation: moderate
  • Cool

#d18ef2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 81.96% red, 55.69% green and 94.9% blue; printed in CMYK it uses 13.64% cyan, 41.32% magenta, 0% yellow and 5.1% black. Its hue angle is 280.2°, with 79.37% saturation and 75.29% lightness in HSL. It is a cool color, 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 8.86:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 6.04.

Description generated from the measured properties of this color.

Conversions of #d18ef2 into other color spaces
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 luminance0.3931

Readable text 2.37:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.86:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a8a8a8 ≈ 0.003% of males
Achromatomaly #ba9eca ≈ 0.001% of males
Protanopia #7ca5f6 ≈ 1.01% of males
Deuteranopia #8daaef ≈ 1.27% of males
Tritanopia #cf9cb5 ≈ 0.0001% of males
Protanomaly #a59cf4 ≈ 1.08% of males
Deuteranomaly #aca0f0 ≈ 4.63% of males
Tritanomaly #d097d0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d18ef2 {
  color: #d18ef2;
}
Background
.bg-d18ef2 {
  background-color: #d18ef2;
  color: #000000;
}
Border
.border-d18ef2 {
  border: 2px solid #d18ef2;
}
CSS variables
:root {
  --color-primary: #d18ef2;
  --color-primary-rgb: 209 142 242;
  --color-primary-hsl: 280 79% 75%;
}
Gradient
.gradient-d18ef2 {
  background: linear-gradient(135deg, #d18ef2, #f28ee1);
}
Colored shadow
.shadow-d18ef2 {
  box-shadow: 0 8px 24px rgb(209 142 242 / 0.35);
}

Violet
#d18ef2  rgb(209, 142, 242)  hsl(280, 79%, 75%)  Violet
#aff28e  rgb(175, 242, 142)  hsl(100, 79%, 75%)  Pale Green
#f2d18e  rgb(242, 209, 142)  hsl(40, 79%, 75%)  Sunset
#8ef2d1  rgb(142, 242, 209)  hsl(160, 79%, 75%)  Aquamarine