#A27DEC color

#A27DEC rgb(162, 125, 236)
Shades of purple

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
RGBrgb(162, 125, 236)
RGB percentrgb(63.5%, 49%, 92.5%)
HSLhsl(260, 74%, 71%)
HSV / HSBhsv(260, 47%, 93%)
CMYKcmyk(31%, 47%, 0%, 7%)
CIE LABlab(60.25, 37.62, -51.12)
CIE LCHlch(60.25, 63.47, 306.35)
CIE XYZxyz(37.371, 28.404, 82.854)
Decimal10649068
Short hexNone (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 #A27DECRatioAAAAAAA large
Sample text6.68:1PassFailPass
Sample text3.14:1FailFailPass
#A27DEC as text onRatioAAAAAAA large
Sample text3.14:1FailFailPass
Sample text6.68:1PassFailPass

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.

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); }
Background
Text color
Border

Similar colors

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.