#C798FF

#c798ff ≈ Mauve

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

#c798ff 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 100% blue; printed in CMYK it uses 21.96% cyan, 40.39% magenta, 0% yellow and 0% black. Its hue angle is 267.38°, with 100% saturation and 79.8% 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.36:1 (WCAG AAA). The closest named color is Mauve (#e0b0ff), ΔE 7.5.

Description generated from the measured properties of this color.

Conversions of #c798ff 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.4182

Readable text 2.24:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 9.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #adadad ≈ 0.003% of males
Achromatomaly #b8a5d3 ≈ 0.001% of males
Protanopia #7facff ≈ 1.01% of males
Deuteranopia #89adfc ≈ 1.27% of males
Tritanopia #bea9bf ≈ 0.0001% of males
Protanomaly #a1a4ff ≈ 1.08% of males
Deuteranomaly #a6a5fd ≈ 4.63% of males
Tritanomaly #c2a2dc ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-c798ff {
  color: #c798ff;
}
Background
.bg-c798ff {
  background-color: #c798ff;
  color: #000000;
}
Border
.border-c798ff {
  border: 2px solid #c798ff;
}
CSS variables
:root {
  --color-primary: #c798ff;
  --color-primary-rgb: 199 152 255;
  --color-primary-hsl: 267 100% 80%;
}
Gradient
.gradient-c798ff {
  background: linear-gradient(135deg, #c798ff, #fb98ff);
}
Colored shadow
.shadow-c798ff {
  box-shadow: 0 8px 24px rgb(199 152 255 / 0.35);
}

Mauve
#c798ff  rgb(199, 152, 255)  hsl(267, 100%, 80%)  Mauve
#d0ff98  rgb(208, 255, 152)  hsl(87, 100%, 80%)  Inchworm
#ffc798  rgb(255, 199, 152)  hsl(27, 100%, 80%)  Peach Orange
#98ffc7  rgb(152, 255, 199)  hsl(147, 100%, 80%)  Aquamarine