#AF6DFC

#af6dfc ≈ Medium Purple

  • violet
  • Lightness: high
  • Saturation: strong
  • Cool

#af6dfc is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 68.63% red, 42.75% green and 98.82% blue; printed in CMYK it uses 30.56% cyan, 56.75% magenta, 0% yellow and 1.18% black. Its hue angle is 267.69°, with 95.97% saturation and 70.78% 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. Black text on this color reaches a contrast ratio of 6.42:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.4.

Description generated from the measured properties of this color.

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

Readable text 3.27:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.42:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8e8e8e ≈ 0.003% of males
Achromatomaly #9c82c4 ≈ 0.001% of males
Protanopia #2e8dff ≈ 1.01% of males
Deuteranopia #498ef9 ≈ 1.27% of males
Tritanopia #a08aaa ≈ 0.0001% of males
Protanomaly #7881ff ≈ 1.08% of males
Deuteranomaly #7f82fa ≈ 4.63% of males
Tritanomaly #a67fd0 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-af6dfc {
  color: #af6dfc;
}
Background
.bg-af6dfc {
  background-color: #af6dfc;
  color: #000000;
}
Border
.border-af6dfc {
  border: 2px solid #af6dfc;
}
CSS variables
:root {
  --color-primary: #af6dfc;
  --color-primary-rgb: 175 109 252;
  --color-primary-hsl: 268 96% 71%;
}
Gradient
.gradient-af6dfc {
  background: linear-gradient(135deg, #af6dfc, #f66dfc);
}
Colored shadow
.shadow-af6dfc {
  box-shadow: 0 8px 24px rgb(175 109 252 / 0.35);
}

Medium Purple
#af6dfc  rgb(175, 109, 252)  hsl(268, 96%, 71%)  Medium Purple
#bafc6d  rgb(186, 252, 109)  hsl(88, 96%, 71%)  Inchworm
#fcaf6d  rgb(252, 175, 109)  hsl(28, 96%, 71%)  Sandy Brown
#6dfcaf  rgb(109, 252, 175)  hsl(148, 96%, 71%)  Medium Spring Green