#AF02E2

#af02e2 ≈ Dark Orchid

  • magenta
  • Lightness: medium
  • Saturation: vivid
  • Balanced

#af02e2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 0.78% green and 88.63% blue; printed in CMYK it uses 22.57% cyan, 99.12% magenta, 0% yellow and 11.37% black. Its hue angle is 286.34°, with 98.25% saturation and 44.71% lightness in HSL. It sits between warm and cool, and is 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.34:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 4.17.

Description generated from the measured properties of this color.

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

Readable text 5.34:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.93:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6b6b6b ≈ 0.003% of males
Achromatomaly #8b54a8 ≈ 0.001% of males
Protanopia #0063e7 ≈ 1.01% of males
Deuteranopia #006ede ≈ 1.27% of males
Tritanopia #aa5085 ≈ 0.0001% of males
Protanomaly #604ee5 ≈ 1.08% of males
Deuteranomaly #7056e0 ≈ 4.63% of males
Tritanomaly #ac3eb2 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af02e2 {
  color: #af02e2;
}
Background
.bg-af02e2 {
  background-color: #af02e2;
  color: #ffffff;
}
Border
.border-af02e2 {
  border: 2px solid #af02e2;
}
CSS variables
:root {
  --color-primary: #af02e2;
  --color-primary-rgb: 175 2 226;
  --color-primary-hsl: 286 98% 45%;
}
Gradient
.gradient-af02e2 {
  background: linear-gradient(135deg, #af02e2, #e202a5);
}
Colored shadow
.shadow-af02e2 {
  box-shadow: 0 8px 24px rgb(175 2 226 / 0.35);
}

Dark Orchid
#af02e2  rgb(175, 2, 226)  hsl(286, 98%, 45%)  Dark Orchid
#35e202  rgb(53, 226, 2)  hsl(106, 98%, 45%)  Lime Green
#e2af02  rgb(226, 175, 2)  hsl(46, 98%, 45%)  Meat Brown
#02e2af  rgb(2, 226, 175)  hsl(166, 98%, 45%)  Caribbean Green