#7f42cc color: Bright violet
#7f42cc is rgb(127, 66, 204) in RGB and oklch(52.698% 0.20274 299.634) 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
- ≈ Electric violet
- purple-700
- Black 20%
Inside sRGB: displays the same on any screen.
Shades
From lightest to darkest. Click a shade to use it.
Harmonies
Recent
Colors you stop on or copy appear here. They stay on this device.
About #7f42cc
#7f42cc is a bright violet color. In OKLCH it has 52.7% lightness, 0.203 chroma and a hue of 300°.
Inside sRGB: displays the same on any screen.
White text on it reaches 5.91:1 contrast and black text 3.55:1, so white text reads better.
The closest named color is Purple Rain (#7442c8). In Tailwind CSS the closest color is purple-700.
Lighter: #7f42cc mixed with white
Darker: #7f42cc mixed with black
Calmer: #7f42cc with less saturation
Similar named colors
Colors that go with #7f42cc
Questions about #7f42cc
What color is #7f42cc?
#7f42cc is bright violet. The closest named color is Bright violet. In RGB it is rgb(127, 66, 204), in HSL hsl(266.52, 57.5%, 52.94%) and in OKLCH oklch(52.698% 0.20274 299.634).
What colors go well with #7f42cc?
The complementary color of #7f42cc is #627500. For a calmer combination use the analogous colors #4059de and #a62ca1. The triadic partners are #a55000 and #00806d.
Is white or black text more readable on #7f42cc?
White text reads better on #7f42cc: white gives a contrast ratio of 5.91:1 and black gives 3.55:1. WCAG AA asks for at least 4.5:1 for body text.
Is #7f42cc a warm or cool color?
#7f42cc is a cool color. In OKLCH its hue is 300 degrees, its lightness 52.7% and its chroma 0.203.