#C798FD

#c798fd ≈ Mauve

  • violet
  • Lightness: high
  • Saturation: moderate
  • Cool

#c798fd is a color from the violet family, with high lightness and moderate saturation. In the RGB model it is made of 78.04% red, 59.61% green and 99.22% blue; printed in CMYK it uses 21.34% cyan, 39.92% magenta, 0% yellow and 0.78% black. Its hue angle is 267.92°, with 96.19% saturation and 79.41% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and soft pastel palettes. Black text on this color reaches a contrast ratio of 9.34:1 (WCAG AAA). The closest named color is Mauve (#e0b0ff), ΔE 7.33.

Description generated from the measured properties of this color.

Conversions of #c798fd 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.4169

Readable text 2.25:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.34:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #adadad ≈ 0.003% of males
Achromatomaly #b8a5d2 ≈ 0.001% of males
Protanopia #80abff ≈ 1.01% of males
Deuteranopia #8aadfa ≈ 1.27% of males
Tritanopia #bea8bf ≈ 0.0001% of males
Protanomaly #a1a4ff ≈ 1.08% of males
Deuteranomaly #a6a5fb ≈ 4.63% of males
Tritanomaly #c2a2da ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c798fd {
  color: #c798fd;
}
Background
.bg-c798fd {
  background-color: #c798fd;
  color: #000000;
}
Border
.border-c798fd {
  border: 2px solid #c798fd;
}
CSS variables
:root {
  --color-primary: #c798fd;
  --color-primary-rgb: 199 152 253;
  --color-primary-hsl: 268 96% 79%;
}
Gradient
.gradient-c798fd {
  background: linear-gradient(135deg, #c798fd, #f998fd);
}
Colored shadow
.shadow-c798fd {
  box-shadow: 0 8px 24px rgb(199 152 253 / 0.35);
}

Mauve
#c798fd  rgb(199, 152, 253)  hsl(268, 96%, 79%)  Mauve
#cefd98  rgb(206, 253, 152)  hsl(88, 96%, 79%)  Inchworm
#fdc798  rgb(253, 199, 152)  hsl(28, 96%, 79%)  Peach Orange
#98fdc7  rgb(152, 253, 199)  hsl(148, 96%, 79%)  Aquamarine