#7E7AAA

Closest named color: Lavender Gray (#7E7F9A). oklch(60.1% 0.072 287.8), rgb(126, 122, 170).

Aa

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

About this color

#7E7AAA is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.072 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.032 away. Black text reads best on it, at 5.25:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.25:1
White text3.99:1

Values

HEX#7E7AAA
RGBrgb(126, 122, 170)
HSLhsl(245, 22%, 57%)
OKLCHoklch(60.1% 0.072 287.8)

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 #7E7AAA 3.99:1 AA large text Lc -72.8 Content text, not long reading
Black text on #7E7AAA 5.25:1 AA Lc 36.8 Non-text elements, placeholder text
#7E7AAA text on white 3.99:1 AA large text Lc 67.3 Content text, not long reading
#7E7AAA text on black 5.25:1 AA Lc -34.4 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 500.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D8D7E6

    oklch(88.4% 0.02 289)

  4. Step 300

    300

    #BFBED7

    oklch(81% 0.035 287.4)

  5. Step 400

    400

    #9E9CC3

    oklch(70.8% 0.057 287.2)

  6. Step 500

    500 (this color)

    #7E7AAA

    oklch(60.1% 0.072 287.8)

  7. Step 600

    600

    #716C9F

    oklch(55.6% 0.078 288.1)

  8. Step 700

    700

    #5E5A88

    oklch(49.1% 0.073 287.4)

  9. Step 800

    800

    #4D4A6F

    oklch(42.8% 0.061 287.3)

  10. Step 900

    900

    #403E5A

    oklch(37.8% 0.047 287.2)

  11. Step 950

    950

    #252434

    oklch(26.9% 0.03 287.1)

Export this scale for Tailwind in the Tailwind colors tool

#7E7AAA 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)#6D80AC0.027
Deuteranopia (no green cones)#6D7EA90.026
Tritanopia (no blue cones)#74828B0.062
Achromatopsia (no color)#7F7F7F0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7AAA

    #7E7AAA

    oklch(60.1% 0.072 287.8)

  • #858450

    #858450

    oklch(60.2% 0.072 107.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7AAA

    #7E7AAA

    oklch(60.1% 0.072 287.8)

  • #6582AC

    #6582AC

    oklch(60.1% 0.073 257.6)

  • #93739D

    #93739D

    oklch(60.1% 0.072 318)

Open the analogous palette in the generator

Split complementary

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

  • #7E7AAA

    #7E7AAA

    oklch(60.1% 0.072 287.8)

  • #997B4E

    #997B4E

    oklch(60.1% 0.072 76.8)

  • #6B8B60

    #6B8B60

    oklch(60.1% 0.073 137.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7AAA

    #7E7AAA

    oklch(60.1% 0.072 287.8)

  • #A5745A

    #A5745A

    oklch(60.3% 0.073 48.9)

  • #538F78

    #538F78

    oklch(60.2% 0.073 167.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7AAA

    #7E7AAA

    oklch(60.1% 0.072 287.8)

  • #A86F70

    #A86F70

    oklch(60.2% 0.073 18.3)

  • #858450

    #858450

    oklch(60.2% 0.072 107.4)

  • #468E90

    #468E90

    oklch(60.1% 0.072 197.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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