#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.

Try:
Color NameMagenta
HEX
#FF42FF
RGB
255, 66, 255
HSL
300°, 100%, 63%
CMYK
0%, 74%, 0%, 0%

Shades

CSS Usage
color: #FF42FF;
background-color: #FF42FF;
border-color: #FF42FF;
box-shadow: 0 0 10px #FF42FF;
border: 2px solid #FF42FF;
Tailwind Usage
bg-[#FF42FF]
text-[#FF42FF]
border-[#FF42FF]
shadow-[0_0_10px_FF42FF]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #FF42FF, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #FF42FF; color: #000000; }

Badge

New Feature
.badge { background-color: #FF42FF; color: #000000; }

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.

.card-accent { border: 2px solid #FF42FF; background-color: #FF42FF15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #FF42FF20; border-left: 4px solid #FF42FF; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #FF42FF; }

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.

Current Complementary Triadic Analogous

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

HEX to RGB

Convert #FF42FF to RGB:

rgb(255, 66, 255)HEX to RGB Converter →

HEX to HSL

Convert #FF42FF to HSL:

hsl(300, 100%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #FF42FF to CMYK:

cmyk(0%, 74%, 0%, 0%)Color Converter →

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.

Contrast Ratio: 7.48:1
WCAG AA: Pass
WCAG AAA: Pass

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.

What colors go well with #FF42FF?

#42FF42 (complementary), #A142FF (analogous), and #F500F5 (lighter shade) work well with #FF42FF.