#7958BD

#7958bd ≈ Royal Purple

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

#7958bd is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.45% red, 34.51% green and 74.12% blue; printed in CMYK it uses 35.98% cyan, 53.44% magenta, 0% yellow and 25.88% black. Its hue angle is 259.6°, with 43.35% saturation and 54.31% 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.32:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 4.04.

Description generated from the measured properties of this color.

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

Readable text 5.32:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.94:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #716493 ≈ 0.001% of males
Protanopia #2e6cc0 ≈ 1.01% of males
Deuteranopia #376abb ≈ 1.27% of males
Tritanopia #696c82 ≈ 0.0001% of males
Protanomaly #5664bf ≈ 1.08% of males
Deuteranomaly #5963bc ≈ 4.63% of males
Tritanomaly #70659d ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-7958bd {
  color: #7958bd;
}
Background
.bg-7958bd {
  background-color: #7958bd;
  color: #ffffff;
}
Border
.border-7958bd {
  border: 2px solid #7958bd;
}
CSS variables
:root {
  --color-primary: #7958bd;
  --color-primary-rgb: 121 88 189;
  --color-primary-hsl: 260 43% 54%;
}
Gradient
.gradient-7958bd {
  background: linear-gradient(135deg, #7958bd, #ab58bd);
}
Colored shadow
.shadow-7958bd {
  box-shadow: 0 8px 24px rgb(121 88 189 / 0.35);
}

Royal Purple
#7958bd  rgb(121, 88, 189)  hsl(260, 43%, 54%)  Royal Purple
#9cbd58  rgb(156, 189, 88)  hsl(80, 43%, 54%)  Olivine
#bd7958  rgb(189, 121, 88)  hsl(20, 43%, 54%)  Cafe au Lait
#58bd79  rgb(88, 189, 121)  hsl(140, 43%, 54%)  Emerald