Image Color Lab

CSS named color

#800080 — purple

rgb(128, 0, 128)

Color codes

HEX
#800080
RGB
rgb(128, 0, 128)
HSL
hsl(300 100% 25%)
CMYK
cmyk(0% 100% 0% 50%)
OKLCH
oklch(42.1% 0.193 328)

Contrast

9.42:1 on white

AAA for normal and large text

2.23:1 on black

Fails WCAG AA

Tints and shades

Harmonies

About purple

purple is written as #800080 in hex, rgb(128, 0, 128) in RGB and hsl(300 100% 25%) in HSL. Its lightness sits at 25%, which is why it reads aaa for normal and large text against white.

Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.