#D28CEF

#d28cef ≈ Violet

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

#d28cef is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 82.35% red, 54.9% green and 93.73% blue; printed in CMYK it uses 12.13% cyan, 41.42% magenta, 0% yellow and 6.27% black. Its hue angle is 282.42°, with 75.57% saturation and 74.31% 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 brand accents. Black text on this color reaches a contrast ratio of 8.74:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 5.48.

Description generated from the measured properties of this color.

Conversions of #d28cef 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.3869

Readable text 2.4:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.74:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a7a7a7 ≈ 0.003% of males
Achromatomaly #ba9dc8 ≈ 0.001% of males
Protanopia #7ba3f3 ≈ 1.01% of males
Deuteranopia #8da9ec ≈ 1.27% of males
Tritanopia #d19ab2 ≈ 0.0001% of males
Protanomaly #a59af1 ≈ 1.08% of males
Deuteranomaly #ad9eed ≈ 4.63% of males
Tritanomaly #d194cd ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-d28cef {
  color: #d28cef;
}
Background
.bg-d28cef {
  background-color: #d28cef;
  color: #000000;
}
Border
.border-d28cef {
  border: 2px solid #d28cef;
}
CSS variables
:root {
  --color-primary: #d28cef;
  --color-primary-rgb: 210 140 239;
  --color-primary-hsl: 282 76% 74%;
}
Gradient
.gradient-d28cef {
  background: linear-gradient(135deg, #d28cef, #ef8cdb);
}
Colored shadow
.shadow-d28cef {
  box-shadow: 0 8px 24px rgb(210 140 239 / 0.35);
}

Violet
#d28cef  rgb(210, 140, 239)  hsl(282, 76%, 74%)  Violet
#a9ef8c  rgb(169, 239, 140)  hsl(102, 76%, 74%)  Light Green
#efd28c  rgb(239, 210, 140)  hsl(42, 76%, 74%)  Buff
#8cefd2  rgb(140, 239, 210)  hsl(162, 76%, 74%)  Magic Mint