#7F71A4

Closest named color: Dark Lavender (#856798). oklch(58.1% 0.078 296.5), rgb(127, 113, 164).

Aa

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

About this color

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

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

Values

HEX#7F71A4
RGBrgb(127, 113, 164)
HSLhsl(256, 22%, 54%)
OKLCHoklch(58.1% 0.078 296.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 #7F71A4 4.37:1 AA large text Lc -75.8 Fine for body text
Black text on #7F71A4 4.80:1 AA Lc 33.8 Non-text elements, placeholder text
#7F71A4 text on white 4.37:1 AA large text Lc 70.3 Content text, not long reading
#7F71A4 text on black 4.80:1 AA Lc -31.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 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

    #DAD7E5

    oklch(88.6% 0.019 295.8)

  4. Step 300

    300

    #C2BCD5

    oklch(80.8% 0.035 296.6)

  5. Step 400

    400

    #A49AC0

    oklch(70.8% 0.056 297)

  6. Step 500

    500

    #8D81B0

    oklch(63.1% 0.071 296)

  7. Step 600

    600 (this color)

    #7F71A4

    oklch(58.1% 0.078 296.5)

  8. Step 700

    700

    #655885

    oklch(49.1% 0.072 296.9)

  9. Step 800

    800

    #52486C

    oklch(42.7% 0.06 296.5)

  10. Step 900

    900

    #443C58

    oklch(37.6% 0.048 297.2)

  11. Step 950

    950

    #282333

    oklch(26.9% 0.03 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F71A4 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)#6579A60.041
Deuteranopia (no green cones)#6778A30.038
Tritanopia (no blue cones)#7879830.064
Achromatopsia (no color)#7979790.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F71A4

    #7F71A4

    oklch(58.1% 0.078 296.5)

  • #788149

    #788149

    oklch(58.2% 0.079 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F71A4

    #7F71A4

    oklch(58.1% 0.078 296.5)

  • #657AAA

    #657AAA

    oklch(58.2% 0.078 265.9)

  • #936A93

    #936A93

    oklch(58% 0.078 326.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F71A4

    #7F71A4

    oklch(58.1% 0.078 296.5)

  • #8F7841

    #8F7841

    oklch(58.2% 0.079 87.2)

  • #5B875F

    #5B875F

    oklch(58% 0.078 146.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F71A4

    #7F71A4

    oklch(58.1% 0.078 296.5)

  • #9E6E4C

    #9E6E4C

    oklch(58% 0.078 55.8)

  • #408A79

    #408A79

    oklch(58.1% 0.079 176.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F71A4

    #7F71A4

    oklch(58.1% 0.078 296.5)

  • #A46862

    #A46862

    oklch(58% 0.078 26)

  • #788149

    #788149

    oklch(58.2% 0.079 116.4)

  • #388892

    #388892

    oklch(58.2% 0.078 206.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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