#870DFD

#870dfd ≈ Electric Violet

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

#870dfd is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 52.94% red, 5.1% green and 99.22% blue; printed in CMYK it uses 46.64% cyan, 94.86% magenta, 0% yellow and 0.78% black. Its hue angle is 270.5°, with 98.36% saturation and 52.16% 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.99:1 (WCAG AA). The closest named color is Electric Violet (#8f00ff), ΔE 1.1.

Description generated from the measured properties of this color.

Conversions of #870dfd 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.1253

Readable text 5.99:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.51:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #636363 ≈ 0.003% of males
Achromatomaly #734eb6 ≈ 0.001% of males
Protanopia #0064ff ≈ 1.01% of males
Deuteranopia #0060f9 ≈ 1.27% of males
Tritanopia #646595 ≈ 0.0001% of males
Protanomaly #034fff ≈ 1.08% of males
Deuteranomaly #244cfb ≈ 4.63% of males
Tritanomaly #7450c8 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-870dfd {
  color: #870dfd;
}
Background
.bg-870dfd {
  background-color: #870dfd;
  color: #ffffff;
}
Border
.border-870dfd {
  border: 2px solid #870dfd;
}
CSS variables
:root {
  --color-primary: #870dfd;
  --color-primary-rgb: 135 13 253;
  --color-primary-hsl: 271 98% 52%;
}
Gradient
.gradient-870dfd {
  background: linear-gradient(135deg, #870dfd, #fd0dfb);
}
Colored shadow
.shadow-870dfd {
  box-shadow: 0 8px 24px rgb(135 13 253 / 0.35);
}

Electric Violet
#870dfd  rgb(135, 13, 253)  hsl(271, 98%, 52%)  Electric Violet
#83fd0d  rgb(131, 253, 13)  hsl(91, 98%, 52%)  Chartreuse
#fd870d  rgb(253, 135, 13)  hsl(31, 98%, 52%)  Dark Orange
#0dfd87  rgb(13, 253, 135)  hsl(151, 98%, 52%)  Spring Green