#7A1877

Closest named color: Purple (#800080). oklch(41.7% 0.169 329.5), rgb(122, 24, 119).

Aa

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

About this color

#7A1877 is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.169 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple (#800080), ΔE 0.025 away. White text reads best on it, at 9.44:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.169)
Temperaturein between
Nearest namePurple (#800080)
Black text2.22:1
White text9.44:1

Values

HEX#7A1877
RGBrgb(122, 24, 119)
HSLhsl(302, 67%, 29%)
OKLCHoklch(41.7% 0.169 329.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 #7A1877 9.44:1 AAA Lc -95.0 Preferred for body text
Black text on #7A1877 2.22:1 Fails Lc 13.4 Not readable
#7A1877 text on white 9.44:1 AAA Lc 90.6 Preferred for body text
#7A1877 text on black 2.22:1 Fails Lc -11.7 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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F5E3F3

    oklch(93.5% 0.029 329.3)

  3. Step 200

    200

    #EFCDEB

    oklch(88.6% 0.055 329.9)

  4. Step 300

    300

    #E5AAE0

    oklch(81% 0.099 329.3)

  5. Step 400

    400

    #D679D0

    oklch(70.7% 0.159 329.5)

  6. Step 500

    500

    #C851C3

    oklch(63.1% 0.201 329.3)

  7. Step 600

    600

    #B42DAF

    oklch(55.6% 0.219 329.7)

  8. Step 700

    700

    #9A1D97

    oklch(49.1% 0.204 329.2)

  9. Step 800

    800 (this color)

    #7A1877

    oklch(41.7% 0.169 329.5)

  10. Step 900

    900

    #651F62

    oklch(37.6% 0.131 329.6)

  11. Step 950

    950

    #3C143A

    oklch(27.1% 0.084 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#7A1877 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)#053E790.184
Deuteranopia (no green cones)#364A750.153
Tritanopia (no blue cones)#7F27470.092
Achromatopsia (no color)#4646460.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A1877

    #7A1877

    oklch(41.7% 0.169 329.5)

  • #005D26

    #005D26

    oklch(41.8% 0.116 149.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A1877

    #7A1877

    oklch(41.7% 0.169 329.5)

  • #5C2B98

    #5C2B98

    oklch(41.7% 0.168 299.6)

  • #8D0149

    #8D0149

    oklch(41.7% 0.169 359.7)

Open the analogous palette in the generator

Split complementary

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

  • #7A1877

    #7A1877

    oklch(41.7% 0.169 329.5)

  • #465300

    #465300

    oklch(41.6% 0.098 119.6)

  • #00594D

    #00594D

    oklch(41.6% 0.076 179.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A1877

    #7A1877

    oklch(41.7% 0.169 329.5)

  • #5E4900

    #5E4900

    oklch(41.6% 0.085 89.8)

  • #005661

    #005661

    oklch(41.5% 0.072 209.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A1877

    #7A1877

    oklch(41.7% 0.169 329.5)

  • #723C00

    #723C00

    oklch(41.6% 0.098 59)

  • #005D26

    #005D26

    oklch(41.8% 0.116 149.5)

  • #00527A

    #00527A

    oklch(41.8% 0.095 239.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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