Color
#B7A5E6
Light cool violet. Nearest reference color: Maximum blue purple.
RGB
0–255CMYK
0–100%RGB describes how #B7A5E6 is represented with light on digital screens. This color combines red 183, green 165 and blue 230.
CMYK describes the same color using the four components commonly used in printing: cyan 20.43%, magenta 28.26%, yellow 0% and black 9.8%.
HSL values
In the HSL color model, #B7A5E6 has a hue of 256.62°, 56.52% saturation and 77.45% lightness. The sliders below show where this color sits across each of these three dimensions.
Color insight
#B7A5E6 is a light, cool violet with moderate chroma.
- Temperature
- Cool
- Lightness
- Light
- Chroma
- Moderate
Color formats
Copy #B7A5E6 in a format ready to use in CSS, design tools or other applications.
#B7A5E6
rgb(183, 165, 230)
hsl(256.62 56.52% 77.45%)
oklch(0.76055 0.093563 296.8295)
--color: #B7A5E6;
Tints of #B7A5E6
Tints are lighter variations of #B7A5E6. They keep the character of the original color while moving progressively toward a lighter appearance.
Shades of #B7A5E6
Shades are darker variations of #B7A5E6. Moving toward black increases visual depth while preserving the underlying hue of the color.
Tones of #B7A5E6
Tones reduce the chroma of #B7A5E6, producing quieter and more muted variations without simply making the color lighter or darker.
Tonal range of #B7A5E6
A continuous light-to-dark scale places #B7A5E6 between its lighter tints and deeper shades.
CSS color scale
Use this tonal range as reusable CSS custom properties.
:root {
--color-100: #F0EBFF;
--color-200: #E2D8FF;
--color-300: #D4C5FF;
--color-400: #C6B4F6;
--color-500: #B7A5E6;
--color-600: #8674B2;
--color-700: #584680;
--color-800: #2F1B50;
--color-900: #09001B;
}
Colors that go with #B7A5E6
Color harmonies for #B7A5E6 are generated by rotating its hue in the OKLCH color space while preserving its lightness and chroma. This creates classic complementary, analogous, triadic and other hue relationships with more consistent perceptual balance.
Complementary
Opposite on the color wheel, creating the strongest direct hue contrast.
Triadic
Three evenly spaced hues that create a broader, balanced color relationship.
Split complementary
Two hues around the complementary color, providing contrast with more variation.
CSS gradients with #B7A5E6
These gradients show how #B7A5E6 moves toward white, black and its complementary color. Each gradient includes ready-to-use CSS that can be copied directly into a project.
Toward white
A light gradient that moves from the original color toward white.
background: linear-gradient(90deg, #B7A5E6, #C8BBED, #DAD2F3, #ECE8F9, #FFFFFF);
Toward black
A dark gradient that moves from the original color toward black.
background: linear-gradient(90deg, #B7A5E6, #7B6F9C, #453D59, #15121D, #000000);
Text contrast and accessibility
Contrast determines how clearly text can be distinguished from #B7A5E6. The values below compare white and black text using WCAG contrast ratios.
Recommended text color: #000000 . Relative luminance: 0.4269 .
Accessible CSS
Use the recommended text color with #B7A5E6 as the background.
background-color: #B7A5E6;
color: #000000;
Using #B7A5E6 in design
See how #B7A5E6 works in a simple interface. The examples below use the color as a background, accent and interface element, with text chosen from its accessibility result.
#B7A5E6 used as a full background with its recommended text color.
Use #B7A5E6 to emphasize selected interface elements without filling the entire surface.
Colors similar to #B7A5E6
These nearby colors are generated from perceptual variations of #B7A5E6, including changes in lightness, chroma and hue.
Color vision simulation
The simulations below show mathematical approximations of how #B7A5E6 may shift under three forms of color vision deficiency. They are simulations, not a diagnosis or an exact representation of any individual person's vision.
Simulation based on the model by Machado, Oliveira and Fernandes (2009), published in IEEE Transactions on Visualization and Computer Graphics. DOI: 10.1109/TVCG.2009.113.
Advanced color values
Beyond RGB, CMYK and HSL, #B7A5E6 can also be represented in perceptual and device-independent color spaces used in color science and modern design tools.
XYZ
- X
- 47.2633
- Y
- 42.6904
- Z
- 80.5976
CIELAB
- L*
- 71.3443
- a*
- 19.6406
- b*
- -30.3253
OKLab
- L
- 0.76055
- a
- 0.042228
- b
- -0.083491
OKLCH
- L
- 0.76055
- C
- 0.093563
- H
- 296.8295°