#987af2 color: Forgotten Purple
#987af2 is rgb(152, 122, 242) in RGB and oklch(66.202% 0.17318 292.546) in OKLCH. Every other format, shade and contrast value is below.
Read as HEX
- Ctrl Vpaste a color anywhere
- Spacerandom color
- Ccopy HEX
- Violet
- Medium
- Vivid
- Cool
- ≈ Amethyst
- violet-400
- Black 5%
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 #987af2
#987af2 is a bright violet color. In OKLCH it has 66.2% lightness, 0.173 chroma and a hue of 293°.
Inside sRGB: displays the same on any screen.
White text on it reaches 3.28:1 contrast and black text 6.4:1, so black text reads better.
The closest named color is Forgotten Purple (#9878f8). In Tailwind CSS the closest color is violet-400.
Lighter: #987af2 mixed with white
Darker: #987af2 mixed with black
Calmer: #987af2 with less saturation
Similar named colors
Colors that go with #987af2
Questions about #987af2
What color is #987af2?
#987af2 is bright violet. The closest named color is Forgotten Purple. In RGB it is rgb(152, 122, 242), in HSL hsl(255, 82.19%, 71.37%) and in OKLCH oklch(66.202% 0.17318 292.546).
What colors go well with #987af2?
The complementary color of #987af2 is #969c00. For a calmer combination use the analogous colors #578efc and #c369d0. The triadic partners are #e26d00 and #00af89.
Is white or black text more readable on #987af2?
Black text reads better on #987af2: white gives a contrast ratio of 3.28:1 and black gives 6.4:1. WCAG AA asks for at least 4.5:1 for body text.
Is #987af2 a warm or cool color?
#987af2 is a cool color. In OKLCH its hue is 293 degrees, its lightness 66.2% and its chroma 0.173.