#970CEB

#970ceb ≈ Blue Violet

  • violet
  • Lightness: medium
  • Saturation: vivid
  • Cool

#970ceb is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 59.22% red, 4.71% green and 92.16% blue; printed in CMYK it uses 35.74% cyan, 94.89% magenta, 0% yellow and 7.84% black. Its hue angle is 277.4°, with 90.28% saturation and 48.43% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.89:1 (WCAG AA). The closest named color is Blue Violet (#8a2be2), ΔE 2.41.

Description generated from the measured properties of this color.

Conversions of #970ceb into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#9900ff
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1284

Readable text 5.89:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.57:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #646464 ≈ 0.003% of males
Achromatomaly #7c4fab ≈ 0.001% of males
Protanopia #0061f0 ≈ 1.01% of males
Deuteranopia #0064e7 ≈ 1.27% of males
Tritanopia #865a8b ≈ 0.0001% of males
Protanomaly #414dee ≈ 1.08% of males
Deuteranomaly #504fe9 ≈ 4.63% of males
Tritanomaly #8d47b9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-970ceb {
  color: #970ceb;
}
Background
.bg-970ceb {
  background-color: #970ceb;
  color: #ffffff;
}
Border
.border-970ceb {
  border: 2px solid #970ceb;
}
CSS variables
:root {
  --color-primary: #970ceb;
  --color-primary-rgb: 151 12 235;
  --color-primary-hsl: 277 90% 48%;
}
Gradient
.gradient-970ceb {
  background: linear-gradient(135deg, #970ceb, #eb0ccf);
}
Colored shadow
.shadow-970ceb {
  box-shadow: 0 8px 24px rgb(151 12 235 / 0.35);
}

Blue Violet
#970ceb  rgb(151, 12, 235)  hsl(277, 90%, 48%)  Blue Violet
#60eb0c  rgb(96, 235, 12)  hsl(97, 90%, 48%)  Lawn Green
#eb970c  rgb(235, 151, 12)  hsl(37, 90%, 48%)  Gamboge
#0ceb97  rgb(12, 235, 151)  hsl(157, 90%, 48%)  Medium Spring Green