#7F22FF color
The hex color #7F22FF is a vivid violet.
In the RGB color model it is made of 49.8% red, 13.3% green and 100% blue (127, 34, 255).
Its hue angle is 265°, with 100% saturation and 57% lightness. For print, the CMYK equivalent is 50% cyan, 87% magenta, 0% yellow and 0% black.
The closest named color is Purple Climax (#8800FF), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.87:1).
#7F22FF color codes
| HEX | #7F22FF | |
|---|---|---|
| RGB | rgb(127, 34, 255) | |
| RGB percent | rgb(49.8%, 13.3%, 100%) | |
| HSL | hsl(265, 100%, 57%) | |
| HSV / HSB | hsv(265, 87%, 100%) | |
| CMYK | cmyk(50%, 87%, 0%, 0%) | |
| CIE LAB | lab(42.57, 77.7, -90.54) | |
| CIE LCH | lch(42.57, 119.31, 310.63) | |
| CIE XYZ | xyz(27.369, 12.875, 95.631) | |
| Decimal | 8332031 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F22FF, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #7F22FF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.58:1 | Fail | Fail | Pass |
| Sample text | 5.87:1 | Pass | Fail | Pass |
| #7F22FF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.87:1 | Pass | Fail | Pass |
| Sample text | 3.58:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #7F22FF looks to people with the most common types of color vision deficiency.
#0067ffProtanopia
no red cones#0060fbDeuteranopia
no green cones#536b98Tritanopia
no blue cones#646464Achromatopsia
no color vision
CSS examples
.background { background-color: #7f22ff; }
.text { color: #7f22ff; }
.border { border: 2px solid #7f22ff; }
.transparent { background-color: rgb(127 34 255 / 50%); }
.gradient { background: linear-gradient(to right, #7f22ff, #ee22ff); }
Similar colors
#8800ffPurple Climax#7f00ffViolent Violet#7f01fePoisoning Purple#8f00ffViolet#9601f4Cosmic Heart#8a2be2Blue Violet#9f00ffVivid Violet#6600ffElectric Indigo
Questions
- What color is #7F22FF?
- #7F22FF is a vivid violet, closest to the named color Purple Climax. It belongs to the purple family of colors.
- What is the RGB value of #7F22FF?
- The RGB value is 127, 34, 255: 127 red, 34 green and 255 blue on a 0 to 255 scale.
- What is the complementary color of #7F22FF?
- The complementary color is #A2FF22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F22FF?
- White text. Black text has a contrast ratio of 3.58:1 and white text 5.87:1. WCAG asks for at least 4.5:1 for normal text.