#AF8CE8 Color Information
Hex color code: #AF8CE8
The hex color #AF8CE8 is a cool purple with RGB values of (175, 140, 232) and HSL of (263°, 67%, 73%). It is commonly used in modern UI design.
Shades
color: #AF8CE8; background-color: #AF8CE8; border-color: #AF8CE8; box-shadow: 0 0 10px #AF8CE8; border: 2px solid #AF8CE8;
bg-[#AF8CE8] text-[#AF8CE8] border-[#AF8CE8] shadow-[0_0_10px_AF8CE8]
Generate Gradient
background: linear-gradient(90deg, #AF8CE8, #FF5733);
Preview in UI
Button
Badge
Text Highlight
The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.
Card
Card Title
This card uses your color as a border accent.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #AF8CE8 in the color wheel.
RGB, HSL and CMYK Values
RGB
175, 140, 232
Red: 175 / Green: 140 / Blue: 232
HSL
263°, 67%, 73%
Hue: 263° / Saturation: 67% / Lightness: 73%
CMYK
25%, 40%, 0%, 9%
Cyan: 25% / Magenta: 40% / Yellow: 0% / Key: 9%
What color is #AF8CE8?
#AF8CE8 is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#AF8CE8 is a cool purple color with RGB values of 175, 140, 232 and HSL of 263°, 67%, 73%. This blue-purple hue evokes creativity and luxury, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #AF8CE8 is #C5E88C, creating high-contrast pairings. For softer combinations, try analogous colors like #8C97E8.
Use #AF8CE8 in CSS: color: #AF8CE8 or background-color: #AF8CE8. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #AF8CE8
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #AF8CE8?
#AF8CE8 is a cool purple color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #AF8CE8?
#AF8CE8 in RGB is (175, 140, 232) - 175 red, 140 green, and 232 blue.
How to use #AF8CE8 in CSS?
Use #AF8CE8 directly in your CSS properties like color or background-color.