#795FA2

#795fa2 ≈ Royal Purple

  • violet
  • Lightness: medium
  • Saturation: moderate
  • Cool

#795fa2 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.45% red, 37.25% green and 63.53% blue; printed in CMYK it uses 25.31% cyan, 41.36% magenta, 0% yellow and 36.47% black. Its hue angle is 263.28°, with 26.48% saturation and 50.39% 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. White text on this color reaches a contrast ratio of 5.29:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.07.

Description generated from the measured properties of this color.

Conversions of #795fa2 into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#666699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1486

Readable text 5.29:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.97:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6c6c6c ≈ 0.003% of males
Achromatomaly #716785 ≈ 0.001% of males
Protanopia #4e6ba5 ≈ 1.01% of males
Deuteranopia #536ba0 ≈ 1.27% of males
Tritanopia #716a79 ≈ 0.0001% of males
Protanomaly #6267a4 ≈ 1.08% of males
Deuteranomaly #6467a1 ≈ 4.63% of males
Tritanomaly #75668b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-795fa2 {
  color: #795fa2;
}
Background
.bg-795fa2 {
  background-color: #795fa2;
  color: #ffffff;
}
Border
.border-795fa2 {
  border: 2px solid #795fa2;
}
CSS variables
:root {
  --color-primary: #795fa2;
  --color-primary-rgb: 121 95 162;
  --color-primary-hsl: 263 26% 50%;
}
Gradient
.gradient-795fa2 {
  background: linear-gradient(135deg, #795fa2, #9a5fa2);
}
Colored shadow
.shadow-795fa2 {
  box-shadow: 0 8px 24px rgb(121 95 162 / 0.35);
}

Royal Purple
#795fa2  rgb(121, 95, 162)  hsl(263, 26%, 50%)  Royal Purple
#88a25f  rgb(136, 162, 95)  hsl(83, 26%, 50%)  Asparagus
#a2795f  rgb(162, 121, 95)  hsl(23, 26%, 50%)  Cafe au Lait
#5fa279  rgb(95, 162, 121)  hsl(143, 26%, 50%)  Jungle Green