#A27DEC color
The hex color #A27DEC is a light, moderate violet.
In the RGB color model it is made of 63.5% red, 49% green and 92.5% blue (162, 125, 236).
Its hue angle is 260°, with 74% saturation and 71% lightness. For print, the CMYK equivalent is 31% cyan, 47% magenta, 0% yellow and 7% black.
The closest named color is Medium Purple (#9370DB), a difference of 4.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.68:1).
#A27DEC color codes
| HEX | #A27DEC | |
|---|---|---|
| RGB | rgb(162, 125, 236) | |
| RGB percent | rgb(63.5%, 49%, 92.5%) | |
| HSL | hsl(260, 74%, 71%) | |
| HSV / HSB | hsv(260, 47%, 93%) | |
| CMYK | cmyk(31%, 47%, 0%, 7%) | |
| CIE LAB | lab(60.25, 37.62, -51.12) | |
| CIE LCH | lch(60.25, 63.47, 306.35) | |
| CIE XYZ | xyz(37.371, 28.404, 82.854) | |
| Decimal | 10649068 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A27DEC, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #A27DEC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.68:1 | Pass | Fail | Pass |
| Sample text | 3.14:1 | Fail | Fail | Pass |
| #A27DEC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.14:1 | Fail | Fail | Pass |
| Sample text | 6.68:1 | Pass | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #A27DEC looks to people with the most common types of color vision deficiency.
#5992f0Protanopia
no red cones#6090e9Deuteranopia
no green cones#9292a9Tritanopia
no blue cones#919191Achromatopsia
no color vision
CSS examples
.background { background-color: #a27dec; }
.text { color: #a27dec; }
.border { border: 2px solid #a27dec; }
.transparent { background-color: rgb(162 125 236 / 50%); }
.gradient { background: linear-gradient(to right, #a27dec, #d97dec); }
Similar colors
#9370dbMedium Purple#9370dbMatt Purple#8e82fePeriwinkle Purple#bf77f6Illicit Purple#a669dbViolet Voltage#8f8ce7Perrywinkle#b195e4Dreamy Candy Forest#9966ccAmethyst
Questions
- What color is #A27DEC?
- #A27DEC is a light, moderate violet, closest to the named color Medium Purple. It belongs to the purple family of colors.
- What is the RGB value of #A27DEC?
- The RGB value is 162, 125, 236: 162 red, 125 green and 236 blue on a 0 to 255 scale.
- What is the complementary color of #A27DEC?
- The complementary color is #C7EC7D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A27DEC?
- Black text. Black text has a contrast ratio of 6.68:1 and white text 3.14:1. WCAG asks for at least 4.5:1 for normal text.