#797CD3

#797cd3 ≈ Medium Purple

  • blue
  • Lightness: high
  • Saturation: moderate
  • Cool

#797cd3 is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 47.45% red, 48.63% green and 82.75% blue; printed in CMYK it uses 42.65% cyan, 41.23% magenta, 0% yellow and 17.25% black. Its hue angle is 238°, with 50.56% saturation and 65.1% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. Black text on this color reaches a contrast ratio of 5.64:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 7.53.

Description generated from the measured properties of this color.

Conversions of #797cd3 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.2318

Readable text 3.73:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.64:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #848484 ≈ 0.003% of males
Achromatomaly #8081aa ≈ 0.001% of males
Protanopia #5c88d6 ≈ 1.01% of males
Deuteranopia #5781d1 ≈ 1.27% of males
Tritanopia #5c8e9d ≈ 0.0001% of males
Protanomaly #6983d5 ≈ 1.08% of males
Deuteranomaly #667fd2 ≈ 4.63% of males
Tritanomaly #6987b5 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-797cd3 {
  color: #797cd3;
}
Background
.bg-797cd3 {
  background-color: #797cd3;
  color: #000000;
}
Border
.border-797cd3 {
  border: 2px solid #797cd3;
}
CSS variables
:root {
  --color-primary: #797cd3;
  --color-primary-rgb: 121 124 211;
  --color-primary-hsl: 238 51% 65%;
}
Gradient
.gradient-797cd3 {
  background: linear-gradient(135deg, #797cd3, #a379d3);
}
Colored shadow
.shadow-797cd3 {
  box-shadow: 0 8px 24px rgb(121 124 211 / 0.35);
}

Medium Purple
#797cd3  rgb(121, 124, 211)  hsl(238, 51%, 65%)  Medium Purple
#d3d079  rgb(211, 208, 121)  hsl(58, 51%, 65%)  Straw
#d3797c  rgb(211, 121, 124)  hsl(358, 51%, 65%)  Old Rose
#7cd379  rgb(124, 211, 121)  hsl(118, 51%, 65%)  Pastel Green