#9875FF Color Information

Hex color code: #9875FF

A striking purple shade, #9875FF appears as (152, 117, 255) in RGB and (255°, 100%, 73%) in HSL. It is often used for branding and logos.

Try:
Color NameMedium Slate Blue
HEX
#9875FF
RGB
152, 117, 255
HSL
255°, 100%, 73%
CMYK
40%, 54%, 0%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #9875FF; 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 #9875FF; background-color: #9875FF15; }

Alert / Toast

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

Link / Accent

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

a { color: #9875FF; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9875FF in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

152, 117, 255

Red: 152 / Green: 117 / Blue: 255

HSL

255°, 100%, 73%

Hue: 255° / Saturation: 100% / Lightness: 73%

CMYK

40%, 54%, 0%, 0%

Cyan: 40% / Magenta: 54% / Yellow: 0% / Key: 0%

What color is #9875FF?

#9875FF is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9875FF to RGB:

rgb(152, 117, 255)HEX to RGB Converter →

HEX to HSL

Convert #9875FF to HSL:

hsl(255, 100%, 73%)RGB to HSL Converter →

HEX to CMYK

Convert #9875FF to CMYK:

cmyk(40%, 54%, 0%, 0%)Color Converter →

Color Meaning and Usage

#9875FF is a dynamic purple color with RGB values of 152, 117, 255 and HSL of 255°, 100%, 73%. This highly saturated hue evokes energy and excitement, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9875FF is #DDFF75, creating high-contrast pairings. For softer combinations, try analogous colors like #7598FF.

Use #9875FF in CSS: color: #9875FF or background-color: #9875FF. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #9875FF

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 6.32:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9875FF?

#9875FF is a dynamic purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #9875FF?

#9875FF in RGB is (152, 117, 255) - 152 red, 117 green, and 255 blue.

How to use #9875FF in CSS?

Use #9875FF directly in your CSS properties like color or background-color.

What colors go well with #9875FF?

#DDFF75 (complementary), #7598FF (analogous), and #5E29FF (lighter shade) work well with #9875FF.