gettoolz.app

Purple color: #800080

The CSS keyword purple is #800080, rgb(128, 0, 128) or hsl(300, 100%, 25%). Its codes to copy, 50–950 tint scale, harmonies and contrast on white and black.

Part of design tools.

CSS keywordpurple
HEX#800080
RGBrgb(128, 0, 128)
HSLhsl(300, 100%, 25%)
OKLCHoklch(42.1% 0.1935 328.36)

About Purple

Purple is a dark magenta. Its hue sits at 328° in OKLCH and 300° in HSL — the two wheels are spaced differently, which is why the numbers disagree.

The keyword purple is one of the sixteen original HTML 4 colors, the whole palette of CSS 1, so it is understood by every browser and every email client ever shipped.

CSS purple is #800080, a half-intensity magenta from HTML 4. The X11 purple is #a020f0, a much brighter and bluer violet, which is why CSS purple looks redder than the name leads many people to expect.

Purple tint scale, 50 to 950

50#fff0fe
100#ffe0fd
200#ffbefb
300#f496f0
400#dd72da
500#c151bf
600#a236a1
700#831c82
800#630063
900#440044
950#2e002e

Eleven steps at fixed perceived lightness, in OKLCH, holding purple’s own hue from end to end. The keyword itself falls closest to step 700 (#831c82), the one outlined; step 500 is #c151bf.

Harmonies built on Purple

Hue angles measured in OKLCH, so every accent keeps purple’s perceived lightness. Its complement is #005e23, closest to the named color darkgreen.

Complementary

#800080
#005e23

Analogous

#800080
#8e004c
#5e21a6

Triadic

#800080
#614a00
#005862

Split-complementary

#800080
#495400
#005b4e

Purple on white and on black

purple on white9.41:1 · AAA
purple on black2.22:1 · Fail

White text reads better on purple (9.41:1). As a text color it is readable on a white page (9.41:1, AAA). AA asks 4.5:1 for body text and 3:1 for large text; AAA asks 7:1.

Named colors close to Purple

Open purple in the full tools

Or browse every named color from the color converter.