#A662F5

#a662f5 ≈ Medium Purple

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

#a662f5 is a color from the violet family, with high lightness and strong saturation. In the RGB model it is made of 65.1% red, 38.43% green and 96.08% blue; printed in CMYK it uses 32.24% cyan, 60% magenta, 0% yellow and 3.92% black. Its hue angle is 267.76°, with 88.02% saturation and 67.25% 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 5.69:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.74.

Description generated from the measured properties of this color.

Conversions of #a662f5 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.2343

Readable text 3.69:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 5.69:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #858585 ≈ 0.003% of males
Achromatomaly #9378bc ≈ 0.001% of males
Protanopia #0084fa ≈ 1.01% of males
Deuteranopia #3684f2 ≈ 1.27% of males
Tritanopia #9681a2 ≈ 0.0001% of males
Protanomaly #6d78f8 ≈ 1.08% of males
Deuteranomaly #7478f3 ≈ 4.63% of males
Tritanomaly #9d76c9 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-a662f5 {
  color: #a662f5;
}
Background
.bg-a662f5 {
  background-color: #a662f5;
  color: #000000;
}
Border
.border-a662f5 {
  border: 2px solid #a662f5;
}
CSS variables
:root {
  --color-primary: #a662f5;
  --color-primary-rgb: 166 98 245;
  --color-primary-hsl: 268 88% 67%;
}
Gradient
.gradient-a662f5 {
  background: linear-gradient(135deg, #a662f5, #f062f5);
}
Colored shadow
.shadow-a662f5 {
  box-shadow: 0 8px 24px rgb(166 98 245 / 0.35);
}

Medium Purple
#a662f5  rgb(166, 98, 245)  hsl(268, 88%, 67%)  Medium Purple
#b1f562  rgb(177, 245, 98)  hsl(88, 88%, 67%)  Inchworm
#f5a662  rgb(245, 166, 98)  hsl(28, 88%, 67%)  Sandy Brown
#62f5a6  rgb(98, 245, 166)  hsl(148, 88%, 67%)  Medium Spring Green