#B8AFDF color
The hex color #B8AFDF is a light, desaturated violet.
In the RGB color model it is made of 72.2% red, 68.6% green and 87.5% blue (184, 175, 223).
Its hue angle is 251°, with 43% saturation and 78% lightness. For print, the CMYK equivalent is 17% cyan, 22% magenta, 0% yellow and 13% black.
The closest named color is Moonraker (#C0B2D7), a difference of 3.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 10.24:1).
#B8AFDF color codes
| HEX | #B8AFDF | |
|---|---|---|
| RGB | rgb(184, 175, 223) | |
| RGB percent | rgb(72.2%, 68.6%, 87.5%) | |
| HSL | hsl(251, 43%, 78%) | |
| HSV / HSB | hsv(251, 22%, 87%) | |
| CMYK | cmyk(17%, 22%, 0%, 13%) | |
| CIE LAB | lab(73.66, 12.84, -22.95) | |
| CIE LCH | lch(73.66, 26.3, 299.24) | |
| CIE XYZ | xyz(48.413, 46.178, 76.16) | |
| Decimal | 12103647 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B8AFDF, 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 #B8AFDF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.24:1 | Pass | Pass | Pass |
| Sample text | 2.05:1 | Fail | Fail | Fail |
| #B8AFDF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.05:1 | Fail | Fail | Fail |
| Sample text | 10.24: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 #B8AFDF looks to people with the most common types of color vision deficiency.
#a4b6e1Protanopia
no red cones#a5b4deDeuteranopia
no green cones#b1b6bfTritanopia
no blue cones#b5b5b5Achromatopsia
no color vision
CSS examples
.background { background-color: #b8afdf; }
.text { color: #b8afdf; }
.border { border: 2px solid #b8afdf; }
.transparent { background-color: rgb(184 175 223 / 50%); }
.gradient { background: linear-gradient(to right, #b8afdf, #d0afdf); }
Similar colors
#c0b2d7Moonraker#a99fcfImperial Lilac#bdb0d0Pastel Lilac#cabae0Viking Diva#bfa3d9Enchanted Lavender#c0b0d0Vintage Bloom#baa2ceLucius Lilac#cdb7faViolet Heaven
Closest common color name: Light Purple.
Questions
- What color is #B8AFDF?
- #B8AFDF is a light, desaturated violet, closest to the named color Moonraker. It belongs to the blue family of colors.
- What is the RGB value of #B8AFDF?
- The RGB value is 184, 175, 223: 184 red, 175 green and 223 blue on a 0 to 255 scale.
- What is the complementary color of #B8AFDF?
- The complementary color is #D6DFAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B8AFDF?
- Black text. Black text has a contrast ratio of 10.24:1 and white text 2.05:1. WCAG asks for at least 4.5:1 for normal text.