#800080

#800080 is the hex color Purple. Here are its RGB, HSL, HSV, CMYK, and OKLCH values, ready-made shades and palettes, and the text colors that stay readable on it.

This is the nearest named color to #800080; the exact match is Purple.

Open #800080 in the picker

#800080 color codes

HEX
#800080
HEX8
#800080FF
HEX8 (Android)
#FF800080
RGB
rgb(128, 0, 128)
RGB (%)
50%, 0%, 50%
HSL
hsl(300, 100%, 25%)
HSV / HSB
hsv(300, 100%, 50%)
CMYK
cmyk(0%, 100%, 0%, 50%)
OKLCH
oklch(0.4209 0.1935 328.36)
OKLCH (%)
oklch(42.09% 0.1935 328.36)
Decimal
8388736

What color is #800080?

#800080 sits at 42% lightness and 0.1935 chroma in OKLCH, hue 328.36°. Its nearest named color is Purple (an exact match).

Shades and tints of #800080

Tints

Shades

Tones

#800080 color harmonies

Complementary

Analogous

Triadic

Split-complementary

Tetradic

Square

Monochromatic

Using #800080 in CSS

.text       { color: #800080; }
.background { background-color: #800080; }
.border     { border: 2px solid #800080; }

/* Modern, perceptually uniform */
.text { color: oklch(0.4209 0.1935 328.36); }

/* #800080 at 50% transparency */
.overlay { background-color: #80008080; }

Is #800080 accessible?

#800080 on white text scores 9.42:1; on black text it scores 2.23:1. White text passes WCAG AAA on #800080. Recommended text color on a #800080 background: white.

A 2.23:1 vs black
A 9.42:1 vs white
  • AA normal ≥ 4.5 Pass
  • AA large ≥ 3 Pass
  • AAA normal ≥ 7 Pass
  • AAA large ≥ 4.5 Pass

Recommended text color: white

CSS contrast-color() contrast-color(#800080) → white
APCA Lc experimental 94.1 Lc · body text — preferred (white text)

WCAG 2.1 AA/AAA is the compliance floor; APCA is an optional readability metric.

Related colors

Nearest featured color: Purple #800080. See more in the purple family on the colors hub.

Frequently asked questions

What color is #800080?
#800080 is Purple. In RGB it is rgb(128, 0, 128), and in HSL hsl(300, 100%, 25%).
What is #800080 in RGB?
#800080 converts to rgb(128, 0, 128) — red 128, green 0, blue 128.
What text color is readable on #800080?
White text — it has the higher contrast ratio (9.42:1) against #800080. White text passes WCAG AAA on #800080.
Open #800080 in the picker