#FF42FF Color Information
Hex color code: #FF42FF
#FF42FF is a vivid magenta color. In RGB it is (255, 66, 255), and in HSL it is (300°, 100%, 63%). It is commonly used in modern UI design.
Shades
color: #FF42FF; background-color: #FF42FF; border-color: #FF42FF; box-shadow: 0 0 10px #FF42FF; border: 2px solid #FF42FF;
bg-[#FF42FF] text-[#FF42FF] border-[#FF42FF] shadow-[0_0_10px_FF42FF]
Generate Gradient
background: linear-gradient(90deg, #FF42FF, #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 #FF42FF in the color wheel.
RGB, HSL and CMYK Values
RGB
255, 66, 255
Red: 255 / Green: 66 / Blue: 255
HSL
300°, 100%, 63%
Hue: 300° / Saturation: 100% / Lightness: 63%
CMYK
0%, 74%, 0%, 0%
Cyan: 0% / Magenta: 74% / Yellow: 0% / Key: 0%
What color is #FF42FF?
#FF42FF is a highly saturated hue associated with energy and excitement.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A dynamic magenta tone, #FF42FF has RGB (255, 66, 255) and HSL (300°, 100%, 63%). Known for evoking energy and excitement, this highly saturated hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #FF42FF is #42FF42, creating high-contrast pairings. For softer combinations, try analogous colors like #A142FF.
Use #FF42FF in CSS: color: #FF42FF or background-color: #FF42FF. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #FF42FF
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 #FF42FF?
#FF42FF is a dynamic magenta color - a highly saturated hue that evokes energy and excitement.
What is the RGB value of #FF42FF?
#FF42FF in RGB is (255, 66, 255) - 255 red, 66 green, and 255 blue.
How to use #FF42FF in CSS?
Use #FF42FF directly in your CSS properties like color or background-color.