#B5A1F2 color
The hex color #B5A1F2 is a light, moderate violet.
In the RGB color model it is made of 71% red, 63.1% green and 94.9% blue (181, 161, 242).
Its hue angle is 255°, with 76% saturation and 79% lightness. For print, the CMYK equivalent is 25% cyan, 33% magenta, 0% yellow and 5% black.
The closest named color is Dreamy Candy Forest (#B195E4), a difference of 3.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 9.34:1).
#B5A1F2 color codes
| HEX | #B5A1F2 | |
|---|---|---|
| RGB | rgb(181, 161, 242) | |
| RGB percent | rgb(71%, 63.1%, 94.9%) | |
| HSL | hsl(255, 76%, 79%) | |
| HSV / HSB | hsv(255, 33%, 95%) | |
| CMYK | cmyk(25%, 33%, 0%, 5%) | |
| CIE LAB | lab(70.68, 24.06, -37.92) | |
| CIE LCH | lch(70.68, 44.91, 302.4) | |
| CIE XYZ | xyz(47.824, 41.724, 89.521) | |
| Decimal | 11903474 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B5A1F2, 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 #B5A1F2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.34:1 | Pass | Pass | Pass |
| Sample text | 2.25:1 | Fail | Fail | Fail |
| #B5A1F2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.34: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 #B5A1F2 looks to people with the most common types of color vision deficiency.
#8caef5Protanopia
no red cones#8facf0Deuteranopia
no green cones#a8afbfTritanopia
no blue cones#adadadAchromatopsia
no color vision
CSS examples
.background { background-color: #b5a1f2; }
.text { color: #b5a1f2; }
.border { border: 2px solid #b5a1f2; }
.transparent { background-color: rgb(181 161 242 / 50%); }
.gradient { background: linear-gradient(to right, #b5a1f2, #dda1f2); }
Similar colors
#b195e4Dreamy Candy Forest#c9a0ffDiva#b19cd9Violet Velvet#9ba0efCold Lips#cc99eeDream Vapour#cdb7faViolet Heaven#b8b8f8Purple Illusion#a99fcfImperial Lilac
Closest common color name: Wisteria.
Questions
- What color is #B5A1F2?
- #B5A1F2 is a light, moderate violet, closest to the named color Dreamy Candy Forest. It belongs to the blue family of colors.
- What is the RGB value of #B5A1F2?
- The RGB value is 181, 161, 242: 181 red, 161 green and 242 blue on a 0 to 255 scale.
- What is the complementary color of #B5A1F2?
- The complementary color is #DEF2A1, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B5A1F2?
- Black text. Black text has a contrast ratio of 9.34:1 and white text 2.25:1. WCAG asks for at least 4.5:1 for normal text.