#812780

Closest named color: Purple (#800080). oklch(44.6% 0.163 328.3), rgb(129, 39, 128).

Aa

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

About this color

#812780 is a dark, vivid purple. In OKLCH its lightness is 45%, its chroma 0.163 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.040 away. White text reads best on it, at 8.28:1.

Hue familyPurples
Lightnessdark (45%)
Chromavivid (0.163)
Temperaturein between
Nearest namePurple (#800080)
Black text2.53:1
White text8.28:1

Values

HEX#812780
RGBrgb(129, 39, 128)
HSLhsl(301, 54%, 33%)
OKLCHoklch(44.6% 0.163 328.3)

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 #812780 8.28:1 AAA Lc -92.4 Preferred for body text
Black text on #812780 2.53:1 Fails Lc 16.3 Dividers and decoration only
#812780 text on white 8.28:1 AAA Lc 87.7 Fine for body text
#812780 text on black 2.53:1 Fails Lc -14.4 Not readable

Tints and shades

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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F5E4F3

    oklch(93.7% 0.027 329.5)

  3. Step 200

    200

    #EDCDEB

    oklch(88.4% 0.053 328)

  4. Step 300

    300

    #E3ABE0

    oklch(81% 0.095 328.2)

  5. Step 400

    400

    #D37BD0

    oklch(70.7% 0.153 328.3)

  6. Step 500

    500

    #C555C3

    oklch(63.1% 0.194 328.3)

  7. Step 600

    600

    #B033AF

    oklch(55.5% 0.211 328.3)

  8. Step 700

    700

    #972397

    oklch(49.1% 0.197 328.1)

  9. Step 800

    800 (this color)

    #812780

    oklch(44.6% 0.163 328.3)

  10. Step 900

    900

    #632262

    oklch(37.7% 0.126 328.3)

  11. Step 950

    950

    #3A153A

    oklch(26.9% 0.08 327.5)

Export this scale for Tailwind in the Tailwind colors tool

#812780 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)#1A47830.172
Deuteranopia (no green cones)#3E527E0.146
Tritanopia (no blue cones)#8533500.090
Achromatopsia (no color)#4E4E4E0.164

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #812780

    #812780

    oklch(44.6% 0.163 328.3)

  • #006627

    #006627

    oklch(44.5% 0.127 148.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #812780

    #812780

    oklch(44.6% 0.163 328.3)

  • #6237A0

    #6237A0

    oklch(44.7% 0.162 298.4)

  • #941A53

    #941A53

    oklch(44.6% 0.162 358.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #812780

    #812780

    oklch(44.6% 0.163 328.3)

  • #4F5B00

    #4F5B00

    oklch(44.5% 0.104 118.2)

  • #006354

    #006354

    oklch(44.7% 0.083 177.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #812780

    #812780

    oklch(44.6% 0.163 328.3)

  • #695100

    #695100

    oklch(44.7% 0.091 88.8)

  • #00606B

    #00606B

    oklch(44.7% 0.077 208.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #812780

    #812780

    oklch(44.6% 0.163 328.3)

  • #7E4200

    #7E4200

    oklch(44.5% 0.106 58.2)

  • #006627

    #006627

    oklch(44.5% 0.127 148.5)

  • #005B85

    #005B85

    oklch(44.8% 0.1 238.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #812780, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #812780 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.