Purple #800080

Purple is a dark, vivid purple with hex code #800080 and RGB rgb(128, 0, 128).

Aa

White text reads best on this color (9.41:1).

About this color

#800080 is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.193 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. It is the named color Purple. White text reads best on it, at 9.41:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.193)
Temperaturein between
Nearest namePurple
Black text2.22:1
White text9.41:1

Colors that go with Purple

Matches found by rotating Purple around the OKLCH hue wheel, each labelled with the closest name in our list.

Color palettes with Purple

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Purple, closest first.

Similar named colors

The eight named colors closest to Purple, with their ΔE distance.

More about Purple

How to make Purple

A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.

  • 1 part purple

Recipe result: #6E2D91, a difference of ΔE 0.063 from Purple. That is close; add a little more of one paint to match.

What colors make purple? | Color mixing chart

Codes for Purple in every format

HEX#800080
RGBrgb(128, 0, 128)
HSLhsl(300, 100%, 25%)
OKLCHoklch(42.1% 0.193 328.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #800080 9.41:1 AAA Lc -94.1 Preferred for body text
Black text on #800080 2.22:1 Fails Lc 14.4 Not readable
#800080 text on white 9.41:1 AAA Lc 89.6 Fine for body text
#800080 text on black 2.22:1 Fails Lc -12.7 Not readable

Shades and tints of Purple

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F7E3F5

    oklch(93.7% 0.032 329)

  3. Step 200

    200

    #F1CBEE

    oklch(88.5% 0.063 328.6)

  4. Step 300

    300

    #E9A6E5

    oklch(80.9% 0.113 328.6)

  5. Step 400

    400

    #DB72D8

    oklch(70.7% 0.18 328.3)

  6. Step 500

    500

    #CF43CD

    oklch(63.1% 0.231 328.5)

  7. Step 600

    600

    #BA0BBA

    oklch(55.6% 0.251 328.3)

  8. Step 700

    700

    #9E009E

    oklch(49.1% 0.226 328.4)

  9. Step 800

    800 (this color)

    #800080

    oklch(42.1% 0.193 328.4)

  10. Step 900

    900

    #691568

    oklch(37.7% 0.151 328.6)

  11. Step 950

    950

    #3E103D

    oklch(27.1% 0.095 328.7)

Export this scale for Tailwind in the Tailwind colors tool

Purple with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#003D830.202
Deuteranopia (no green cones)#304B7D0.178
Tritanopia (no blue cones)#8421490.106
Achromatopsia (no color)#4646460.195

Use Purple in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.