#C2AFEA color
The hex color #C2AFEA is a light, moderate violet.
In the RGB color model it is made of 76.1% red, 68.6% green and 91.8% blue (194, 175, 234).
Its hue angle is 259°, with 58% saturation and 80% lightness. For print, the CMYK equivalent is 17% cyan, 25% magenta, 0% yellow and 8% black.
The closest named color is Violet Heaven (#CDB7FA), a difference of 2.9 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 10.61:1).
#C2AFEA color codes
| HEX | #C2AFEA | |
|---|---|---|
| RGB | rgb(194, 175, 234) | |
| RGB percent | rgb(76.1%, 68.6%, 91.8%) | |
| HSL | hsl(259, 58%, 80%) | |
| HSV / HSB | hsv(259, 25%, 92%) | |
| CMYK | cmyk(17%, 25%, 0%, 8%) | |
| CIE LAB | lab(74.87, 18.38, -27.01) | |
| CIE LCH | lch(74.87, 32.67, 304.23) | |
| CIE XYZ | xyz(52.426, 48.07, 84.342) | |
| Decimal | 12759018 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #C2AFEA, 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 #C2AFEA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.61:1 | Pass | Pass | Pass |
| Sample text | 1.98:1 | Fail | Fail | Fail |
| #C2AFEA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.98:1 | Fail | Fail | Fail |
| Sample text | 10.61: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 #C2AFEA looks to people with the most common types of color vision deficiency.
#a3b8edProtanopia
no red cones#a6b8e8Deuteranopia
no green cones#bbb8c4Tritanopia
no blue cones#b8b8b8Achromatopsia
no color vision
CSS examples
.background { background-color: #c2afea; }
.text { color: #c2afea; }
.border { border: 2px solid #c2afea; }
.transparent { background-color: rgb(194 175 234 / 50%); }
.gradient { background: linear-gradient(to right, #c2afea, #e0afea); }
Similar colors
#cdb7faViolet Heaven#bfa3d9Enchanted Lavender#b19cd9Violet Velvet#c0b2d7Moonraker#baa2ceLucius Lilac#b8b8f8Purple Illusion#cabae0Viking Diva#c9a0dcWisteria
Questions
- What color is #C2AFEA?
- #C2AFEA is a light, moderate violet, closest to the named color Violet Heaven. It belongs to the purple family of colors.
- What is the RGB value of #C2AFEA?
- The RGB value is 194, 175, 234: 194 red, 175 green and 234 blue on a 0 to 255 scale.
- What is the complementary color of #C2AFEA?
- The complementary color is #D7EAAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #C2AFEA?
- Black text. Black text has a contrast ratio of 10.61:1 and white text 1.98:1. WCAG asks for at least 4.5:1 for normal text.