Colors

#800080

Purple

Purple is #800080. In CSS you can write it as the keyword purple. The values below are the same sRGB color in HEX, RGB, HSL, HSV, a simple CMYK conversion, and OKLCH. CMYK here is a channel formula for reference, not a press proof.

Conversions

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

Tints and shades

Tints mix this color toward white. Shades mix it toward black in sRGB. For a 50–950 ramp, open the tint and shade generator.

Tints

#993399

20% white

#B366B3

40% white

#CC99CC

60% white

#E6CCE6

80% white

Shades

#660066

20% black

#4D004D

40% black

#330033

60% black

#1A001A

80% black

Harmony palettes

These schemes rotate hue from Purple. Read the relationships in color theory 101 or adjust them on the color wheel.

#800080

#008000

#AD1FAD

#1FAD1F

#260D26

#400080

#800080

#800040

#800000

#0A0A76

#800080

#808000

#008080

#ADAD1F

#0B4141

Split Complementary

Open in palette generator

#800080

#408000

#008040

#B82EB8

#0D260D

#660066

#B300B3

#FF00FF

#FF4DFF

#FF99FF

#800080

#804000

#008000

#004080

#9C5E21

Contrast against white and black

Ratios use the WCAG relative-luminance formula. AA normal text needs 4.5:1 and large text needs 3:1 under Success Criterion 1.4.3. AAA uses 7:1 and 4.5:1. A pass here is only this pair, not a full page audit. Check other pairings in the contrast checker.

On white · 9.42:1
AA normal text Pass
AA large text Pass
AAA normal text Pass
AAA large text Pass
On black · 2.23:1
AA normal text Fail
AA large text Fail
AAA normal text Fail
AAA large text Fail

Similar named colors

Nearest CSS named colors by RGB distance. Distance is not a perceptual match.

Use this color