#8340CF

#8340cf ≈ Blue Violet

  • violet
  • Lightness: medium
  • Saturation: strong
  • Cool

#8340cf is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 51.37% red, 25.1% green and 81.18% blue; printed in CMYK it uses 36.71% cyan, 69.08% magenta, 0% yellow and 18.82% black. Its hue angle is 268.11°, with 59.83% saturation and 53.14% 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.83:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 3.6.

Description generated from the measured properties of this color.

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

Readable text 5.83:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.6:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #656565 ≈ 0.003% of males
Achromatomaly #72589b ≈ 0.001% of males
Protanopia #0064d3 ≈ 1.01% of males
Deuteranopia #0064cc ≈ 1.27% of males
Tritanopia #726283 ≈ 0.0001% of males
Protanomaly #4958d2 ≈ 1.08% of males
Deuteranomaly #5158cd ≈ 4.63% of males
Tritanomaly #7956a7 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-8340cf {
  color: #8340cf;
}
Background
.bg-8340cf {
  background-color: #8340cf;
  color: #ffffff;
}
Border
.border-8340cf {
  border: 2px solid #8340cf;
}
CSS variables
:root {
  --color-primary: #8340cf;
  --color-primary-rgb: 131 64 207;
  --color-primary-hsl: 268 60% 53%;
}
Gradient
.gradient-8340cf {
  background: linear-gradient(135deg, #8340cf, #ca40cf);
}
Colored shadow
.shadow-8340cf {
  box-shadow: 0 8px 24px rgb(131 64 207 / 0.35);
}

Blue Violet
#8340cf  rgb(131, 64, 207)  hsl(268, 60%, 53%)  Blue Violet
#8ccf40  rgb(140, 207, 64)  hsl(88, 60%, 53%)  Yellow Green
#cf8340  rgb(207, 131, 64)  hsl(28, 60%, 53%)  Peru
#40cf83  rgb(64, 207, 131)  hsl(148, 60%, 53%)  Emerald