#D18EFB Color

Inspect #D18EFB across formats, palettes, contrast and closest named color matches.

Color preview

#D18EFB

Color formats

HEX
#D18EFB
RGB
rgb(209, 142, 251)
RGBA
rgba(209, 142, 251, 1)
HSL
hsl(277, 93%, 77%)
HSV
hsv(277, 43%, 98%)
CMYK
cmyk(17%, 43%, 0%, 2%)
CSS variable
--color-primary: #D18EFB;
Lowercase HEX
#d18efb

Shades

Tints

Tones

Harmony

CSS snippets for #D18EFB

.color-d18efb {
  color: #D18EFB;
  background-color: #D18EFB;
}

Frequently asked questions

What color is #D18EFB?+

#D18EFB is a HEX color with RGB value rgb(209, 142, 251) and HSL value hsl(277, 93%, 77%). Its closest CSS named color is Violet.

What is the closest Tailwind color to #D18EFB?+

The closest Tailwind color is purple-400, available as the bg-purple-400 utility class.

Can I use this color in CSS?+

Yes. You can use the HEX, RGB, HSL or CSS variable output directly in CSS.

Related tools