#AF08DC

#af08dc ≈ Dark Orchid

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

#af08dc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 68.63% red, 3.14% green and 86.27% blue; printed in CMYK it uses 20.45% cyan, 96.36% magenta, 0% yellow and 13.73% black. Its hue angle is 287.26°, with 92.98% 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.4:1 (WCAG AA). The closest named color is Dark Orchid (#9932cc), ΔE 3.86.

Description generated from the measured properties of this color.

Conversions of #af08dc 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.1445

Readable text 5.4:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 3.89:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6a6a6a ≈ 0.003% of males
Achromatomaly #8b54a4 ≈ 0.001% of males
Protanopia #0062e1 ≈ 1.01% of males
Deuteranopia #006ed8 ≈ 1.27% of males
Tritanopia #ac4d81 ≈ 0.0001% of males
Protanomaly #634ddf ≈ 1.08% of males
Deuteranomaly #7257da ≈ 4.63% of males
Tritanomaly #ad3cad ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

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

Dark Orchid
#af08dc  rgb(175, 8, 220)  hsl(287, 93%, 45%)  Dark Orchid
#35dc08  rgb(53, 220, 8)  hsl(107, 93%, 45%)  Lime Green
#dcaf08  rgb(220, 175, 8)  hsl(47, 93%, 45%)  Metallic Gold
#08dcaf  rgb(8, 220, 175)  hsl(167, 93%, 45%)  Caribbean Green