#AF42B8 color

#AF42B8 rgb(175, 66, 184)
Shades of purple

The hex color #AF42B8 is a desaturated magenta.

In the RGB color model it is made of 68.6% red, 25.9% green and 72.2% blue (175, 66, 184).

Its hue angle is 295°, with 47% saturation and 49% lightness. For print, the CMYK equivalent is 5% cyan, 64% magenta, 0% yellow and 28% black.

The closest named color is Fuchsia Pheromone (#9F4CB7), a difference of 3.2 ΔE, a small difference.

White text is the more readable choice on this background (contrast 4.89:1).

#AF42B8 color codes

HEX#AF42B8
RGBrgb(175, 66, 184)
RGB percentrgb(68.6%, 25.9%, 72.2%)
HSLhsl(295, 47%, 49%)
HSV / HSBhsv(295, 64%, 72%)
CMYKcmyk(5%, 64%, 0%, 28%)
CIE LABlab(47.59, 59.7, -41.54)
CIE LCHlch(47.59, 72.73, 325.17)
CIE XYZxyz(28.278, 16.473, 47.028)
Decimal11485880
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #AF42B8, 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 #AF42B8RatioAAAAAAA large
Sample text4.29:1FailFailPass
Sample text4.89:1PassFailPass
#AF42B8 as text onRatioAAAAAAA large
Sample text4.89:1PassFailPass
Sample text4.29:1FailFailPass

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 #AF42B8 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #af42b8; }
.text { color: #af42b8; }
.border { border: 2px solid #af42b8; }
.transparent { background-color: rgb(175 66 184 / 50%); }
.gradient { background: linear-gradient(to right, #af42b8, #b84286); }
Background
Text color
Border

Similar colors

Closest common color name: Medium Orchid.

Questions

What color is #AF42B8?
#AF42B8 is a desaturated magenta, closest to the named color Fuchsia Pheromone. It belongs to the purple family of colors.
What is the RGB value of #AF42B8?
The RGB value is 175, 66, 184: 175 red, 66 green and 184 blue on a 0 to 255 scale.
What is the complementary color of #AF42B8?
The complementary color is #4BB842, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AF42B8?
White text. Black text has a contrast ratio of 4.29:1 and white text 4.89:1. WCAG asks for at least 4.5:1 for normal text.