#781771

Closest named color: Purple (#800080). oklch(40.9% 0.164 331.4), rgb(120, 23, 113).

Aa

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

About this color

#781771 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.164 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.033 away. White text reads best on it, at 9.72:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.164)
Temperaturein between
Nearest namePurple (#800080)
Black text2.15:1
White text9.72:1

Values

HEX#781771
RGBrgb(120, 23, 113)
HSLhsl(304, 68%, 28%)
OKLCHoklch(40.9% 0.164 331.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 #781771 9.72:1 AAA Lc -95.6 Preferred for body text
Black text on #781771 2.15:1 Fails Lc 12.7 Not readable
#781771 text on white 9.72:1 AAA Lc 91.3 Preferred for body text
#781771 text on black 2.15:1 Fails Lc -11.1 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F5E3F2

    oklch(93.5% 0.028 331.2)

  3. Step 200

    200

    #EFCDE9

    oklch(88.5% 0.053 332)

  4. Step 300

    300

    #E5AADD

    oklch(80.9% 0.096 331.1)

  5. Step 400

    400

    #D67ACC

    oklch(70.7% 0.153 331.1)

  6. Step 500

    500

    #C952BE

    oklch(63.1% 0.196 331.4)

  7. Step 600

    600

    #B42FAA

    oklch(55.5% 0.213 331.4)

  8. Step 700

    700

    #9B2092

    oklch(49.2% 0.198 331.5)

  9. Step 800

    800 (this color)

    #781771

    oklch(40.9% 0.164 331.4)

  10. Step 900

    900

    #662060

    oklch(37.8% 0.129 331.4)

  11. Step 950

    950

    #3C1438

    oklch(27% 0.082 331.6)

Export this scale for Tailwind in the Tailwind colors tool

#781771 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)#0C3C730.180
Deuteranopia (no green cones)#37496F0.151
Tritanopia (no blue cones)#7D24440.086
Achromatopsia (no color)#4444440.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #781771

    #781771

    oklch(40.9% 0.164 331.4)

  • #005A29

    #005A29

    oklch(40.9% 0.11 151.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #781771

    #781771

    oklch(40.9% 0.164 331.4)

  • #5B2992

    #5B2992

    oklch(40.8% 0.163 301.2)

  • #890244

    #890244

    oklch(40.8% 0.164 1.3)

Open the analogous palette in the generator

Split complementary

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

  • #781771

    #781771

    oklch(40.9% 0.164 331.4)

  • #425200

    #425200

    oklch(41% 0.099 121.7)

  • #00574D

    #00574D

    oklch(41% 0.074 181.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #781771

    #781771

    oklch(40.9% 0.164 331.4)

  • #5B4800

    #5B4800

    oklch(41% 0.084 91.5)

  • #005460

    #005460

    oklch(40.9% 0.071 211.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #781771

    #781771

    oklch(40.9% 0.164 331.4)

  • #6E3C00

    #6E3C00

    oklch(41% 0.095 61.4)

  • #005A29

    #005A29

    oklch(40.9% 0.11 151.2)

  • #004F79

    #004F79

    oklch(40.9% 0.096 241.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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