#AC5FD9 CSS Color Code

#AC5FD9

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
#ac5fd9
HEX Upper
#AC5FD9
RGB
rgb(172, 95, 217)
RGBA
rgba(172, 95, 217, 1)
HSL
hsl(278, 62%, 61%)
HSLA
hsla(278, 62%, 61%, 1)
HWB
hwb(278 37% 15%)
CIELAB
lab(53.99 51.95 -50.37)
CIELCH
lch(53.99 72.36 315.89)
OKLab
oklab(0.625 0.124 -0.141)
OKLCH
oklch(0.625 0.188 311.27)

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°).