#A798C8 color
The hex color #A798C8 is a light, desaturated violet.
In the RGB color model it is made of 65.5% red, 59.6% green and 78.4% blue (167, 152, 200).
Its hue angle is 259°, with 30% saturation and 69% lightness. For print, the CMYK equivalent is 16% cyan, 24% magenta, 0% yellow and 22% black.
The closest named color is Enchanted Lilac (#A893C1), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.97:1).
#A798C8 color codes
| HEX | #A798C8 | |
|---|---|---|
| RGB | rgb(167, 152, 200) | |
| RGB percent | rgb(65.5%, 59.6%, 78.4%) | |
| HSL | hsl(259, 30%, 69%) | |
| HSV / HSB | hsv(259, 24%, 78%) | |
| CMYK | cmyk(16%, 24%, 0%, 22%) | |
| CIE LAB | lab(65.63, 15.17, -22.67) | |
| CIE LCH | lch(65.63, 27.27, 303.8) | |
| CIE XYZ | xyz(37.588, 34.842, 59.377) | |
| Decimal | 10983624 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A798C8, 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 #A798C8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.97:1 | Pass | Pass | Pass |
| Sample text | 2.64:1 | Fail | Fail | Fail |
| #A798C8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.64:1 | Fail | Fail | Fail |
| Sample text | 7.97:1 | Pass | Pass | 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 #A798C8 looks to people with the most common types of color vision deficiency.
#8e9fcaProtanopia
no red cones#909fc7Deuteranopia
no green cones#a19fa9Tritanopia
no blue cones#9f9f9fAchromatopsia
no color vision
CSS examples
.background { background-color: #a798c8; }
.text { color: #a798c8; }
.border { border: 2px solid #a798c8; }
.transparent { background-color: rgb(167 152 200 / 50%); }
.gradient { background: linear-gradient(to right, #a798c8, #bf98c8); }
Similar colors
#a893c1Enchanted Lilac#a99fcfImperial Lilac#a090b8Wizard’s Brew#b19cd9Violet Velvet#b090c7Fleur-De-Lis#baa2ceLucius Lilac#bb9ecdTurnip Crown#bfa3d9Enchanted Lavender
Closest common color name: Wisteria.
Questions
- What color is #A798C8?
- #A798C8 is a light, desaturated violet, closest to the named color Enchanted Lilac. It belongs to the purple family of colors.
- What is the RGB value of #A798C8?
- The RGB value is 167, 152, 200: 167 red, 152 green and 200 blue on a 0 to 255 scale.
- What is the complementary color of #A798C8?
- The complementary color is #B9C898, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A798C8?
- Black text. Black text has a contrast ratio of 7.97:1 and white text 2.64:1. WCAG asks for at least 4.5:1 for normal text.