#8a5197 color: Cosmic Berry
#8a5197 is rgb(138, 81, 151) in RGB and oklch(52.796% 0.12334 319.978) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Magenta
- Medium
- Soft
- Neutral
- ≈ Amethyst
- mauve-500
- Black 41%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Open as paletteRecent
Colors you stop on or copy appear here. They stay on this device.
About #8a5197
#8a5197 is a soft magenta color. In OKLCH it has 52.8% lightness, 0.123 chroma and a hue of 320°.
Inside sRGB: displays the same on any screen.
White text on it reaches 5.67:1 contrast and black text 3.7:1, so white text reads better.
The closest named color is Cosmic Berry (#8b4f90). In Tailwind CSS the closest color is mauve-500.
Lighter: #8a5197 mixed with white
Darker: #8a5197 mixed with black
Calmer: #8a5197 with less saturation
Similar named colors
Colors that go with #8a5197
Questions about #8a5197
What color is #8a5197?
#8a5197 is soft magenta. The closest named color is Cosmic Berry. In RGB it is rgb(138, 81, 151), in HSL hsl(288.86, 30.17%, 45.49%) and in OKLCH oklch(52.796% 0.12334 319.978).
What colors go well with #8a5197?
The complementary color of #8a5197 is #407c33. For a calmer combination use the analogous colors #6b5cad and #9e4a75. The triadic partners are #906100 and #007d84.
Is white or black text more readable on #8a5197?
White text reads better on #8a5197: white gives a contrast ratio of 5.67:1 and black gives 3.7:1. WCAG AA asks for at least 4.5:1 for body text.
Is #8a5197 a warm or cool color?
#8a5197 is a neutral color. In OKLCH its hue is 320 degrees, its lightness 52.8% and its chroma 0.123.