#AFA2DB color

#AFA2DB rgb(175, 162, 219)
Shades of blue

The hex color #AFA2DB is a light, desaturated violet.

In the RGB color model it is made of 68.6% red, 63.5% green and 85.9% blue (175, 162, 219).

Its hue angle is 254°, with 44% saturation and 75% lightness. For print, the CMYK equivalent is 20% cyan, 26% magenta, 0% yellow and 14% black.

The closest named color is Violet Velvet (#B19CD9), a difference of 2.3 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 9.01:1).

#AFA2DB color codes

HEX#AFA2DB
RGBrgb(175, 162, 219)
RGB percentrgb(68.6%, 63.5%, 85.9%)
HSLhsl(254, 44%, 75%)
HSV / HSBhsv(254, 26%, 86%)
CMYKcmyk(20%, 26%, 0%, 14%)
CIE LABlab(69.52, 16.36, -27.16)
CIE LCHlch(69.52, 31.71, 301.06)
CIE XYZxyz(43.383, 40.069, 72.453)
Decimal11510491
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #AFA2DB, 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 #AFA2DBRatioAAAAAAA large
Sample text9.01:1PassPassPass
Sample text2.33:1FailFailFail
#AFA2DB as text onRatioAAAAAAA large
Sample text2.33:1FailFailFail
Sample text9.01:1PassPassPass

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

CSS examples

.background { background-color: #afa2db; }
.text { color: #afa2db; }
.border { border: 2px solid #afa2db; }
.transparent { background-color: rgb(175 162 219 / 50%); }
.gradient { background: linear-gradient(to right, #afa2db, #cca2db); }
Background
Text color
Border

Similar colors

Closest common color name: Wisteria.

Questions

What color is #AFA2DB?
#AFA2DB is a light, desaturated violet, closest to the named color Violet Velvet. It belongs to the blue family of colors.
What is the RGB value of #AFA2DB?
The RGB value is 175, 162, 219: 175 red, 162 green and 219 blue on a 0 to 255 scale.
What is the complementary color of #AFA2DB?
The complementary color is #CEDBA2, found by rotating the hue 180° on the color wheel.
Is black or white text better on #AFA2DB?
Black text. Black text has a contrast ratio of 9.01:1 and white text 2.33:1. WCAG asks for at least 4.5:1 for normal text.