#B287D7 color
The hex color #B287D7 is a light, moderate violet.
In the RGB color model it is made of 69.8% red, 52.9% green and 84.3% blue (178, 135, 215).
Its hue angle is 272°, with 50% saturation and 69% lightness. For print, the CMYK equivalent is 17% cyan, 37% magenta, 0% yellow and 16% black.
The closest named color is Dreamy Candy Forest (#B195E4), a difference of 4.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.34:1).
#B287D7 color codes
| HEX | #B287D7 | |
|---|---|---|
| RGB | rgb(178, 135, 215) | |
| RGB percent | rgb(69.8%, 52.9%, 84.3%) | |
| HSL | hsl(272, 50%, 69%) | |
| HSV / HSB | hsv(272, 37%, 84%) | |
| CMYK | cmyk(17%, 37%, 0%, 16%) | |
| CIE LAB | lab(63.09, 31.53, -34.86) | |
| CIE LCH | lch(63.09, 47.01, 312.13) | |
| CIE XYZ | xyz(39.287, 31.7, 68.326) | |
| Decimal | 11700183 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B287D7, 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 #B287D7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.34:1 | Pass | Pass | Pass |
| Sample text | 2.86:1 | Fail | Fail | Fail |
| #B287D7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.86:1 | Fail | Fail | Fail |
| Sample text | 7.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 #B287D7 looks to people with the most common types of color vision deficiency.
#7797daProtanopia
no red cones#8099d5Deuteranopia
no green cones#ad93a5Tritanopia
no blue cones#999999Achromatopsia
no color vision
CSS examples
.background { background-color: #b287d7; }
.text { color: #b287d7; }
.border { border: 2px solid #b287d7; }
.transparent { background-color: rgb(178 135 215 / 50%); }
.gradient { background: linear-gradient(to right, #b287d7, #d787d4); }
Similar colors
#b195e4Dreamy Candy Forest#b090c7Fleur-De-Lis#9c87c1Petrified Purple#cc99eeDream Vapour#b19cd9Violet Velvet#cc99ddSomewhere in a Fairytale#ab7cb4Berries Galore#bf8fc4Violaceous
Closest common color name: Lavender Purple.
Questions
- What color is #B287D7?
- #B287D7 is a light, moderate violet, closest to the named color Dreamy Candy Forest. It belongs to the purple family of colors.
- What is the RGB value of #B287D7?
- The RGB value is 178, 135, 215: 178 red, 135 green and 215 blue on a 0 to 255 scale.
- What is the complementary color of #B287D7?
- The complementary color is #ACD787, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B287D7?
- Black text. Black text has a contrast ratio of 7.34:1 and white text 2.86:1. WCAG asks for at least 4.5:1 for normal text.