#978EC2

#978ec2 ≈ Purple Mountain Majesty

  • violet
  • Lightness: high
  • Saturation: muted
  • Cool

#978ec2 is a color from the violet family, with high lightness and muted saturation. In the RGB model it is made of 59.22% red, 55.69% green and 76.08% blue; printed in CMYK it uses 22.16% cyan, 26.8% magenta, 0% yellow and 23.92% black. Its hue angle is 250.38°, with 29.89% saturation and 65.88% 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 brand accents. Black text on this color reaches a contrast ratio of 6.96:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 7.64.

Description generated from the measured properties of this color.

Conversions of #978ec2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9999cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.2982

Readable text 3.02:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.96:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #949494 ≈ 0.003% of males
Achromatomaly #9592a9 ≈ 0.001% of males
Protanopia #8195c4 ≈ 1.01% of males
Deuteranopia #8294c1 ≈ 1.27% of males
Tritanopia #8e96a0 ≈ 0.0001% of males
Protanomaly #8b92c3 ≈ 1.08% of males
Deuteranomaly #8b91c1 ≈ 4.63% of males
Tritanomaly #9293af ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-978ec2 {
  color: #978ec2;
}
Background
.bg-978ec2 {
  background-color: #978ec2;
  color: #000000;
}
Border
.border-978ec2 {
  border: 2px solid #978ec2;
}
CSS variables
:root {
  --color-primary: #978ec2;
  --color-primary-rgb: 151 142 194;
  --color-primary-hsl: 250 30% 66%;
}
Gradient
.gradient-978ec2 {
  background: linear-gradient(135deg, #978ec2, #b18ec2);
}
Colored shadow
.shadow-978ec2 {
  box-shadow: 0 8px 24px rgb(151 142 194 / 0.35);
}

Purple Mountain Majesty
#978ec2  rgb(151, 142, 194)  hsl(250, 30%, 66%)  Purple Mountain Majesty
#b9c28e  rgb(185, 194, 142)  hsl(70, 30%, 66%)  Sage
#c2978e  rgb(194, 151, 142)  hsl(10, 30%, 66%)  Rosy Brown
#8ec297  rgb(142, 194, 151)  hsl(130, 30%, 66%)  Dark Sea Green