#7E71B2

Closest named color: Dark Lavender (#856798). oklch(58.7% 0.099 292.3), rgb(126, 113, 178).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.89:1
White text4.29:1

Values

HEX#7E71B2
RGBrgb(126, 113, 178)
HSLhsl(252, 30%, 57%)
OKLCHoklch(58.7% 0.099 292.3)

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 #7E71B2 4.29:1 AA large text Lc -75.1 Fine for body text
Black text on #7E71B2 4.89:1 AA Lc 34.4 Non-text elements, placeholder text
#7E71B2 text on white 4.29:1 AA large text Lc 69.6 Content text, not long reading
#7E71B2 text on black 4.89:1 AA Lc -32.0 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

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #D9D6E9

    oklch(88.4% 0.026 293.1)

  4. Step 300

    300

    #C1BCDC

    oklch(81% 0.045 292.5)

  5. Step 400

    400

    #A199CA

    oklch(70.7% 0.071 292)

  6. Step 500

    500

    #8B7FBC

    oklch(63.1% 0.091 292.6)

  7. Step 600

    600 (this color)

    #7E71B2

    oklch(58.7% 0.099 292.3)

  8. Step 700

    700

    #625690

    oklch(49% 0.092 292.2)

  9. Step 800

    800

    #504775

    oklch(42.8% 0.075 291.9)

  10. Step 900

    900

    #423C5E

    oklch(37.8% 0.058 291.5)

  11. Step 950

    950

    #272337

    oklch(27% 0.037 292.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E71B2 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)#5F7BB50.047
Deuteranopia (no green cones)#6079B00.046
Tritanopia (no blue cones)#727C890.081
Achromatopsia (no color)#7A7A7A0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E71B2

    #7E71B2

    oklch(58.7% 0.099 292.3)

  • #7E8237

    #7E8237

    oklch(58.7% 0.098 111.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E71B2

    #7E71B2

    oklch(58.7% 0.099 292.3)

  • #5C7CB7

    #5C7CB7

    oklch(58.7% 0.098 262)

  • #98689F

    #98689F

    oklch(58.7% 0.099 322.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E71B2

    #7E71B2

    oklch(58.7% 0.099 292.3)

  • #99762F

    #99762F

    oklch(58.6% 0.098 82.2)

  • #598B54

    #598B54

    oklch(58.7% 0.098 142.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E71B2

    #7E71B2

    oklch(58.7% 0.099 292.3)

  • #AA6B42

    #AA6B42

    oklch(58.7% 0.098 52.8)

  • #2C8F76

    #2C8F76

    oklch(58.7% 0.098 172.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E71B2

    #7E71B2

    oklch(58.7% 0.099 292.3)

  • #AF6461

    #AF6461

    oklch(58.7% 0.097 22.9)

  • #7E8237

    #7E8237

    oklch(58.7% 0.098 111.9)

  • #098D96

    #098D96

    oklch(58.7% 0.098 202.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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