#7f42cd color: Bright violet
#7f42cd is rgb(127, 66, 205) in RGB and oklch(52.774% 0.20384 299.413) 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 #7f42cd
#7f42cd is a bright violet color. In OKLCH it has 52.8% lightness, 0.204 chroma and a hue of 299°.
Inside sRGB: displays the same on any screen.
White text on it reaches 5.89:1 contrast and black text 3.56:1, so white text reads better.
The closest named color is Purple Rain (#7442c8). In Tailwind CSS the closest color is purple-700.
Lighter: #7f42cd mixed with white
Darker: #7f42cd mixed with black
Calmer: #7f42cd with less saturation
Similar named colors
Colors that go with #7f42cd
Questions about #7f42cd
What color is #7f42cd?
#7f42cd is bright violet. The closest named color is Bright violet. In RGB it is rgb(127, 66, 205), in HSL hsl(266.33, 58.16%, 53.14%) and in OKLCH oklch(52.774% 0.20384 299.413).
What colors go well with #7f42cd?
The complementary color of #7f42cd is #627600. For a calmer combination use the analogous colors #3f5ade and #a62ca2. The triadic partners are #a65000 and #00806d.
Is white or black text more readable on #7f42cd?
White text reads better on #7f42cd: white gives a contrast ratio of 5.89:1 and black gives 3.56:1. WCAG AA asks for at least 4.5:1 for body text.
Is #7f42cd a warm or cool color?
#7f42cd is a cool color. In OKLCH its hue is 299 degrees, its lightness 52.8% and its chroma 0.204.