#7877AC

Closest named color: Lavender Gray (#7E7F9A). oklch(59.1% 0.08 284.5), rgb(120, 119, 172).

Aa

Black text reads best on this color (5.03:1).

About this color

#7877AC is a medium-dark, moderately saturated purple. In OKLCH its lightness is 59%, its chroma 0.080 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.042 away. Black text reads best on it, at 5.03:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.03:1
White text4.17:1

Values

HEX#7877AC
RGBrgb(120, 119, 172)
HSLhsl(241, 24%, 57%)
OKLCHoklch(59.1% 0.08 284.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 #7877AC 4.17:1 AA large text Lc -74.2 Content text, not long reading
Black text on #7877AC 5.03:1 AA Lc 35.4 Non-text elements, placeholder text
#7877AC text on white 4.17:1 AA large text Lc 68.7 Content text, not long reading
#7877AC text on black 5.03:1 AA Lc -32.9 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F1

    oklch(93.6% 0.011 286.2)

  3. Step 200

    200

    #D7D8E6

    oklch(88.6% 0.019 282.7)

  4. Step 300

    300

    #BDBED8

    oklch(80.9% 0.036 283.8)

  5. Step 400

    400

    #9C9CC4

    oklch(70.7% 0.058 284.8)

  6. Step 500

    500

    #8484B5

    oklch(63.2% 0.073 284.1)

  7. Step 600

    600 (this color)

    #7877AC

    oklch(59.1% 0.08 284.5)

  8. Step 700

    700

    #5C5B8A

    oklch(49.2% 0.075 284.3)

  9. Step 800

    800

    #4B4A70

    oklch(42.7% 0.062 284.6)

  10. Step 900

    900

    #3E3E5A

    oklch(37.6% 0.048 283.9)

  11. Step 950

    950

    #252435

    oklch(26.9% 0.031 286.8)

Export this scale for Tailwind in the Tailwind colors tool

#7877AC 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)#687EAE0.027
Deuteranopia (no green cones)#667AAB0.026
Tritanopia (no blue cones)#6B818A0.071
Achromatopsia (no color)#7C7C7C0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #7877AC

    #7877AC

    oklch(59.1% 0.08 284.5)

  • #858045

    #858045

    oklch(59.1% 0.08 104.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7877AC

    #7877AC

    oklch(59.1% 0.08 284.5)

  • #5C80AD

    #5C80AD

    oklch(59.1% 0.081 254.4)

  • #8F6F9F

    #8F6F9F

    oklch(59.1% 0.08 314.2)

Open the analogous palette in the generator

Split complementary

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

  • #7877AC

    #7877AC

    oklch(59.1% 0.08 284.5)

  • #9A7645

    #9A7645

    oklch(59% 0.08 73.7)

  • #698857

    #698857

    oklch(59% 0.08 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7877AC

    #7877AC

    oklch(59.1% 0.08 284.5)

  • #A66E55

    #A66E55

    oklch(59.1% 0.081 44.8)

  • #4B8D71

    #4B8D71

    oklch(59.1% 0.081 164.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7877AC

    #7877AC

    oklch(59.1% 0.08 284.5)

  • #A8696F

    #A8696F

    oklch(59.1% 0.081 13.7)

  • #858045

    #858045

    oklch(59.1% 0.08 104.3)

  • #388D8C

    #388D8C

    oklch(59.2% 0.081 194.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7877AC 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.