#C0AFDF color
The hex color #C0AFDF is a light, desaturated violet.
In the RGB color model it is made of 75.3% red, 68.6% green and 87.5% blue (192, 175, 223).
Its hue angle is 261°, with 43% saturation and 78% lightness. For print, the CMYK equivalent is 14% cyan, 22% magenta, 0% yellow and 13% black.
The closest named color is Moonraker (#C0B2D7), a difference of 3.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 10.44:1).
#C0AFDF color codes
| HEX | #C0AFDF | |
|---|---|---|
| RGB | rgb(192, 175, 223) | |
| RGB percent | rgb(75.3%, 68.6%, 87.5%) | |
| HSL | hsl(261, 43%, 78%) | |
| HSV / HSB | hsv(261, 22%, 87%) | |
| CMYK | cmyk(14%, 22%, 0%, 13%) | |
| CIE LAB | lab(74.31, 15.38, -21.89) | |
| CIE LCH | lch(74.31, 26.75, 305.08) | |
| CIE XYZ | xyz(50.385, 47.194, 76.253) | |
| Decimal | 12627935 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #C0AFDF, 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 #C0AFDF | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.44:1 | Pass | Pass | Pass |
| Sample text | 2.01:1 | Fail | Fail | Fail |
| #C0AFDF as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.01:1 | Fail | Fail | Fail |
| Sample text | 10.44: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 #C0AFDF looks to people with the most common types of color vision deficiency.
#a6b6e1Protanopia
no red cones#a9b7deDeuteranopia
no green cones#bbb6bfTritanopia
no blue cones#b7b7b7Achromatopsia
no color vision
CSS examples
.background { background-color: #c0afdf; }
.text { color: #c0afdf; }
.border { border: 2px solid #c0afdf; }
.transparent { background-color: rgb(192 175 223 / 50%); }
.gradient { background: linear-gradient(to right, #c0afdf, #d8afdf); }
Similar colors
#c0b2d7Moonraker#bfa3d9Enchanted Lavender#cabae0Viking Diva#baa2ceLucius Lilac#bdb0d0Pastel Lilac#c0b0d0Vintage Bloom#ccbbddSweet Lucid Dreams#cdb7faViolet Heaven
Closest common color name: Wisteria.
Questions
- What color is #C0AFDF?
- #C0AFDF is a light, desaturated violet, closest to the named color Moonraker. It belongs to the purple family of colors.
- What is the RGB value of #C0AFDF?
- The RGB value is 192, 175, 223: 192 red, 175 green and 223 blue on a 0 to 255 scale.
- What is the complementary color of #C0AFDF?
- The complementary color is #CEDFAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #C0AFDF?
- Black text. Black text has a contrast ratio of 10.44:1 and white text 2.01:1. WCAG asks for at least 4.5:1 for normal text.