#782881

Closest named color: Purple (#800080). oklch(43.4% 0.157 323.5), rgb(120, 40, 129).

Aa

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

About this color

#782881 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.157 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.041 away. White text reads best on it, at 8.68:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.157)
Temperaturein between
Nearest namePurple (#800080)
Black text2.41:1
White text8.68:1

Values

HEX#782881
RGBrgb(120, 40, 129)
HSLhsl(294, 53%, 33%)
OKLCHoklch(43.4% 0.157 323.5)

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 #782881 8.68:1 AAA Lc -93.5 Preferred for body text
Black text on #782881 2.41:1 Fails Lc 15.0 Dividers and decoration only
#782881 text on white 8.68:1 AAA Lc 89.0 Fine for body text
#782881 text on black 2.41:1 Fails Lc -13.2 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

    #F3E4F4

    oklch(93.5% 0.027 323.9)

  3. Step 200

    200

    #EACEED

    oklch(88.4% 0.052 323)

  4. Step 300

    300

    #DEADE3

    oklch(80.9% 0.092 323.3)

  5. Step 400

    400

    #CC7FD5

    oklch(70.7% 0.147 323.2)

  6. Step 500

    500

    #BE5AC9

    oklch(63.2% 0.188 323.6)

  7. Step 600

    600

    #A93AB6

    oklch(55.6% 0.205 323.4)

  8. Step 700

    700

    #912B9C

    oklch(49.1% 0.19 323.7)

  9. Step 800

    800 (this color)

    #782881

    oklch(43.4% 0.157 323.5)

  10. Step 900

    900

    #5F2566

    oklch(37.7% 0.122 323.2)

  11. Step 950

    950

    #38173C

    oklch(27.1% 0.077 323.2)

Export this scale for Tailwind in the Tailwind colors tool

#782881 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)#1245840.161
Deuteranopia (no green cones)#364F7F0.138
Tritanopia (no blue cones)#7A36510.093
Achromatopsia (no color)#4B4B4B0.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #782881

    #782881

    oklch(43.4% 0.157 323.5)

  • #00630C

    #00630C

    oklch(43.4% 0.142 143.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #782881

    #782881

    oklch(43.4% 0.157 323.5)

  • #58379D

    #58379D

    oklch(43.3% 0.158 293.7)

  • #8C1B58

    #8C1B58

    oklch(43.4% 0.157 353.2)

Open the analogous palette in the generator

Split complementary

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

  • #782881

    #782881

    oklch(43.4% 0.157 323.5)

  • #515600

    #515600

    oklch(43.4% 0.097 113.6)

  • #005F4D

    #005F4D

    oklch(43.3% 0.082 173.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #782881

    #782881

    oklch(43.4% 0.157 323.5)

  • #684C00

    #684C00

    oklch(43.5% 0.089 84.2)

  • #005C63

    #005C63

    oklch(43.3% 0.074 203.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #782881

    #782881

    oklch(43.4% 0.157 323.5)

  • #7E3C00

    #7E3C00

    oklch(43.4% 0.11 53.1)

  • #00630C

    #00630C

    oklch(43.4% 0.142 143.6)

  • #00587B

    #00587B

    oklch(43.4% 0.091 234.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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