#7E71A0

Closest named color: Dark Lavender (#856798). oklch(57.9% 0.072 296.8), rgb(126, 113, 160).

Aa

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

About this color

#7E71A0 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 58%, its chroma 0.072 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.028 away. Black text reads best on it, at 4.75:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.75:1
White text4.41:1

Values

HEX#7E71A0
RGBrgb(126, 113, 160)
HSLhsl(257, 20%, 54%)
OKLCHoklch(57.9% 0.072 296.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 #7E71A0 4.41:1 AA large text Lc -76.1 Fine for body text
Black text on #7E71A0 4.75:1 AA Lc 33.5 Non-text elements, placeholder text
#7E71A0 text on white 4.41:1 AA large text Lc 70.6 Content text, not long reading
#7E71A0 text on black 4.75:1 AA Lc -31.1 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EAE9F0

    oklch(93.7% 0.009 292.8)

  3. Step 200

    200

    #DAD7E4

    oklch(88.5% 0.018 296.6)

  4. Step 300

    300

    #C2BDD4

    oklch(81% 0.032 295.6)

  5. Step 400

    400

    #A39ABE

    oklch(70.6% 0.053 296.5)

  6. Step 500

    500

    #8D81AD

    oklch(63% 0.066 297)

  7. Step 600

    600 (this color)

    #7E71A0

    oklch(57.9% 0.072 296.8)

  8. Step 700

    700

    #645983

    oklch(49.2% 0.067 295.9)

  9. Step 800

    800

    #52496A

    oklch(42.8% 0.055 296.5)

  10. Step 900

    900

    #443D56

    oklch(37.8% 0.043 297.1)

  11. Step 950

    950

    #282432

    oklch(27.1% 0.026 297.7)

Export this scale for Tailwind in the Tailwind colors tool

#7E71A0 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)#6678A20.037
Deuteranopia (no green cones)#68789F0.036
Tritanopia (no blue cones)#7878820.058
Achromatopsia (no color)#7878780.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E71A0

    #7E71A0

    oklch(57.9% 0.072 296.8)

  • #77804D

    #77804D

    oklch(58% 0.073 116.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E71A0

    #7E71A0

    oklch(57.9% 0.072 296.8)

  • #6679A5

    #6679A5

    oklch(57.8% 0.072 266.2)

  • #916B91

    #916B91

    oklch(57.9% 0.073 326.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E71A0

    #7E71A0

    oklch(57.9% 0.072 296.8)

  • #8D7746

    #8D7746

    oklch(57.9% 0.072 86)

  • #5D8661

    #5D8661

    oklch(57.9% 0.072 147)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E71A0

    #7E71A0

    oklch(57.9% 0.072 296.8)

  • #9B6F4F

    #9B6F4F

    oklch(57.9% 0.072 56.8)

  • #468879

    #468879

    oklch(57.9% 0.072 177)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E71A0

    #7E71A0

    oklch(57.9% 0.072 296.8)

  • #A16963

    #A16963

    oklch(57.9% 0.073 26.3)

  • #77804D

    #77804D

    oklch(58% 0.073 116.9)

  • #3F868F

    #3F868F

    oklch(57.8% 0.072 206.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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