#986BC1 CSS Color Code

#986BC1

Color Values & Formats

Using is just one of many ways to represent this color in CSS. Below are the various color codes you can use:

HEX
#986bc1
HEX Upper
#986BC1
RGB
rgb(152, 107, 193)
RGBA
rgba(152, 107, 193, 1)
HSL
hsl(271, 41%, 59%)
HSLA
hsla(271, 41%, 59%, 1)
HWB
hwb(271 42% 24%)
CIELAB
lab(52.99 34.63 -38.41)
CIELCH
lch(52.99 51.71 312.04)
OKLab
oklab(0.609 0.081 -0.107)
OKLCH
oklch(0.609 0.134 306.97)

UI Component Preview

See how this color behaves when used as text, background, or outline borders in a user interface.

On White Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

On Dark Background

Legibility Test

Five crazy hex codes quickly mixed bright aqua text for web layout pages.

Interactive Buttons
Border & Stroke
Border Example

Tints

Lighter variations generated by blending the color with white (#ffffff).

Shades

Darker variations generated by blending the color with black (#000000).

Complementary Color

The color directly opposite on the HSL color wheel (shifted 180°).