#7876AD

Closest named color: Lavender Gray (#7E7F9A). oklch(59% 0.083 285.2), rgb(120, 118, 173).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text4.99:1
White text4.20:1

Values

HEX#7876AD
RGBrgb(120, 118, 173)
HSLhsl(242, 25%, 57%)
OKLCHoklch(59% 0.083 285.2)

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 #7876AD 4.20:1 AA large text Lc -74.5 Content text, not long reading
Black text on #7876AD 4.99:1 AA Lc 35.1 Non-text elements, placeholder text
#7876AD text on white 4.20:1 AA large text Lc 69.0 Content text, not long reading
#7876AD text on black 4.99:1 AA Lc -32.7 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

    #D7D7E7

    oklch(88.4% 0.022 285.9)

  4. Step 300

    300

    #BEBED9

    oklch(81% 0.038 285.5)

  5. Step 400

    400

    #9C9CC5

    oklch(70.7% 0.06 284.8)

  6. Step 500

    500

    #8483B6

    oklch(63% 0.076 284.9)

  7. Step 600

    600 (this color)

    #7876AD

    oklch(59% 0.083 285.2)

  8. Step 700

    700

    #5C5A8B

    oklch(49.1% 0.078 285)

  9. Step 800

    800

    #4B4A71

    oklch(42.7% 0.064 284.5)

  10. Step 900

    900

    #3F3E5B

    oklch(37.8% 0.049 285.4)

  11. Step 950

    950

    #252435

    oklch(26.9% 0.031 286.8)

Export this scale for Tailwind in the Tailwind colors tool

#7876AD 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)#667DAF0.029
Deuteranopia (no green cones)#657AAC0.028
Tritanopia (no blue cones)#6B808A0.072
Achromatopsia (no color)#7B7B7B0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #7876AD

    #7876AD

    oklch(59% 0.083 285.2)

  • #848042

    #848042

    oklch(58.9% 0.084 105.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7876AD

    #7876AD

    oklch(59% 0.083 285.2)

  • #5B7FAE

    #5B7FAE

    oklch(58.9% 0.083 255.4)

  • #906E9F

    #906E9F

    oklch(59% 0.083 315.3)

Open the analogous palette in the generator

Split complementary

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

  • #7876AD

    #7876AD

    oklch(59% 0.083 285.2)

  • #9A7641

    #9A7641

    oklch(59% 0.084 75.6)

  • #678855

    #678855

    oklch(58.8% 0.083 135.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7876AD

    #7876AD

    oklch(59% 0.083 285.2)

  • #A76D53

    #A76D53

    oklch(59% 0.084 44.8)

  • #488D71

    #488D71

    oklch(59% 0.083 165.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7876AD

    #7876AD

    oklch(59% 0.083 285.2)

  • #A9686D

    #A9686D

    oklch(59% 0.084 15)

  • #848042

    #848042

    oklch(58.9% 0.084 105.4)

  • #338D8D

    #338D8D

    oklch(59.1% 0.084 195.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7876AD 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.