#B004F2

#b004f2 ≈ Vivid Violet

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Cool

#b004f2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 69.02% red, 1.57% green and 94.9% blue; printed in CMYK it uses 27.27% cyan, 98.35% magenta, 0% yellow and 5.1% black. Its hue angle is 283.36°, with 96.75% saturation and 48.24% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. 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.07:1 (WCAG AA). The closest named color is Vivid Violet (#9f00ff), ΔE 3.24.

Description generated from the measured properties of this color.

Conversions of #b004f2 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.1573

Readable text 5.07:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.15:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6e6e6e ≈ 0.003% of males
Achromatomaly #8d57b3 ≈ 0.001% of males
Protanopia #0068f7 ≈ 1.01% of males
Deuteranopia #0071ee ≈ 1.27% of males
Tritanopia #a7588f ≈ 0.0001% of males
Protanomaly #5b52f5 ≈ 1.08% of males
Deuteranomaly #6c59f0 ≈ 4.63% of males
Tritanomaly #ab45bf ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-b004f2 {
  color: #b004f2;
}
Background
.bg-b004f2 {
  background-color: #b004f2;
  color: #ffffff;
}
Border
.border-b004f2 {
  border: 2px solid #b004f2;
}
CSS variables
:root {
  --color-primary: #b004f2;
  --color-primary-rgb: 176 4 242;
  --color-primary-hsl: 283 97% 48%;
}
Gradient
.gradient-b004f2 {
  background: linear-gradient(135deg, #b004f2, #f204bd);
}
Colored shadow
.shadow-b004f2 {
  box-shadow: 0 8px 24px rgb(176 4 242 / 0.35);
}

Vivid Violet
#b004f2  rgb(176, 4, 242)  hsl(283, 97%, 48%)  Vivid Violet
#46f204  rgb(70, 242, 4)  hsl(103, 97%, 48%)  Harlequin
#f2b004  rgb(242, 176, 4)  hsl(43, 97%, 48%)  Amber
#04f2b0  rgb(4, 242, 176)  hsl(163, 97%, 48%)  Medium Spring Green