#DC8CF2

#dc8cf2 ≈ Violet

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

#dc8cf2 is a color from the magenta family, with high lightness and moderate saturation. In the RGB model it is made of 86.27% red, 54.9% green and 94.9% blue; printed in CMYK it uses 9.09% cyan, 42.15% magenta, 0% yellow and 5.1% black. Its hue angle is 287.06°, with 79.69% saturation and 74.9% 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 9.08:1 (WCAG AAA). The closest named color is Violet (#ee82ee), ΔE 3.93.

Description generated from the measured properties of this color.

Conversions of #dc8cf2 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.4038

Readable text 2.31:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.08:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #aaaaaa ≈ 0.003% of males
Achromatomaly #c09fcb ≈ 0.001% of males
Protanopia #7ca5f6 ≈ 1.01% of males
Deuteranopia #92adef ≈ 1.27% of males
Tritanopia #dd99b4 ≈ 0.0001% of males
Protanomaly #ab9cf4 ≈ 1.08% of males
Deuteranomaly #b4a1f0 ≈ 4.63% of males
Tritanomaly #dc94d0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-dc8cf2 {
  color: #dc8cf2;
}
Background
.bg-dc8cf2 {
  background-color: #dc8cf2;
  color: #000000;
}
Border
.border-dc8cf2 {
  border: 2px solid #dc8cf2;
}
CSS variables
:root {
  --color-primary: #dc8cf2;
  --color-primary-rgb: 220 140 242;
  --color-primary-hsl: 287 80% 75%;
}
Gradient
.gradient-dc8cf2 {
  background: linear-gradient(135deg, #dc8cf2, #f28cd5);
}
Colored shadow
.shadow-dc8cf2 {
  box-shadow: 0 8px 24px rgb(220 140 242 / 0.35);
}

Violet
#dc8cf2  rgb(220, 140, 242)  hsl(287, 80%, 75%)  Violet
#a2f28c  rgb(162, 242, 140)  hsl(107, 80%, 75%)  Light Green
#f2dc8c  rgb(242, 220, 140)  hsl(47, 80%, 75%)  Buff
#8cf2dc  rgb(140, 242, 220)  hsl(167, 80%, 75%)  Magic Mint