#C798CA color
The hex color #C798CA is a light, desaturated magenta.
In the RGB color model it is made of 78% red, 59.6% green and 79.2% blue (199, 152, 202).
Its hue angle is 296°, with 32% saturation and 69% lightness. For print, the CMYK equivalent is 1% cyan, 25% magenta, 0% yellow and 21% black.
The closest named color is Pastel Violet (#CB99C9), a difference of 1.1 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.77:1).
#C798CA color codes
| HEX | #C798CA | |
|---|---|---|
| RGB | rgb(199, 152, 202) | |
| RGB percent | rgb(78%, 59.6%, 79.2%) | |
| HSL | hsl(296, 32%, 69%) | |
| HSV / HSB | hsv(296, 25%, 79%) | |
| CMYK | cmyk(1%, 25%, 0%, 21%) | |
| CIE LAB | lab(68.65, 26.08, -18.9) | |
| CIE LCH | lch(68.65, 32.21, 324.08) | |
| CIE XYZ | xyz(45.441, 38.864, 60.973) | |
| Decimal | 13080778 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #C798CA, 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 #C798CA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.77:1 | Pass | Pass | Pass |
| Sample text | 2.39:1 | Fail | Fail | Fail |
| #C798CA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.39:1 | Fail | Fail | Fail |
| Sample text | 8.77: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 #C798CA looks to people with the most common types of color vision deficiency.
#94a4ccProtanopia
no red cones#9fa9c8Deuteranopia
no green cones#ca9ca9Tritanopia
no blue cones#a7a7a7Achromatopsia
no color vision
CSS examples
.background { background-color: #c798ca; }
.text { color: #c798ca; }
.border { border: 2px solid #c798ca; }
.transparent { background-color: rgb(199 152 202 / 50%); }
.gradient { background: linear-gradient(to right, #c798ca, #ca98b4); }
Similar colors
#cb99c9Pastel Violet#d39ed2Velvet Horizon#bf8fc4Violaceous#d39bcbGirl Power#c6a1cfLilac Lace#bf90bbLa la Love#c8a2c8Lilac#c9a0dcWisteria
Questions
- What color is #C798CA?
- #C798CA is a light, desaturated magenta, closest to the named color Pastel Violet. It belongs to the purple family of colors.
- What is the RGB value of #C798CA?
- The RGB value is 199, 152, 202: 199 red, 152 green and 202 blue on a 0 to 255 scale.
- What is the complementary color of #C798CA?
- The complementary color is #9BCA98, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #C798CA?
- Black text. Black text has a contrast ratio of 8.77:1 and white text 2.39:1. WCAG asks for at least 4.5:1 for normal text.