#B7AFE5 color
The hex color #B7AFE5 is a light, moderate blue.
In the RGB color model it is made of 71.8% red, 68.6% green and 89.8% blue (183, 175, 229).
Its hue angle is 249°, with 51% saturation and 79% lightness. For print, the CMYK equivalent is 20% cyan, 24% magenta, 0% yellow and 10% black.
The closest named color is Purple Illusion (#B8B8F8), a difference of 4.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 10.28:1).
#B7AFE5 color codes
| HEX | #B7AFE5 | |
|---|---|---|
| RGB | rgb(183, 175, 229) | |
| RGB percent | rgb(71.8%, 68.6%, 89.8%) | |
| HSL | hsl(249, 51%, 79%) | |
| HSV / HSB | hsv(249, 24%, 90%) | |
| CMYK | cmyk(20%, 24%, 0%, 10%) | |
| CIE LAB | lab(73.79, 13.87, -26.02) | |
| CIE LCH | lch(73.79, 29.48, 298.06) | |
| CIE XYZ | xyz(48.998, 46.384, 80.485) | |
| Decimal | 12038117 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B7AFE5, 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 #B7AFE5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.28:1 | Pass | Pass | Pass |
| Sample text | 2.04:1 | Fail | Fail | Fail |
| #B7AFE5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.04:1 | Fail | Fail | Fail |
| Sample text | 10.28:1 | Pass | Pass | 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 #B7AFE5 looks to people with the most common types of color vision deficiency.
#a2b6e7Protanopia
no red cones#a3b4e3Deuteranopia
no green cones#aeb8c2Tritanopia
no blue cones#b5b5b5Achromatopsia
no color vision
CSS examples
.background { background-color: #b7afe5; }
.text { color: #b7afe5; }
.border { border: 2px solid #b7afe5; }
.transparent { background-color: rgb(183 175 229 / 50%); }
.gradient { background: linear-gradient(to right, #b7afe5, #d2afe5); }
Similar colors
#b8b8f8Purple Illusion#cdb7faViolet Heaven#a99fcfImperial Lilac#c0b2d7Moonraker#b19cd9Violet Velvet#bfa3d9Enchanted Lavender#d0c7ffInnocent Snowdrop#cabae0Viking Diva
Closest common color name: Periwinkle.
Questions
- What color is #B7AFE5?
- #B7AFE5 is a light, moderate blue, closest to the named color Purple Illusion. It belongs to the blue family of colors.
- What is the RGB value of #B7AFE5?
- The RGB value is 183, 175, 229: 183 red, 175 green and 229 blue on a 0 to 255 scale.
- What is the complementary color of #B7AFE5?
- The complementary color is #DDE5AF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B7AFE5?
- Black text. Black text has a contrast ratio of 10.28:1 and white text 2.04:1. WCAG asks for at least 4.5:1 for normal text.