#7F7EB7

Closest named color: Lavender Gray (#7E7F9A). oklch(61.7% 0.086 284.4), rgb(127, 126, 183).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.57:1
White text3.76:1

Values

HEX#7F7EB7
RGBrgb(127, 126, 183)
HSLhsl(241, 28%, 61%)
OKLCHoklch(61.7% 0.086 284.4)

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 #7F7EB7 3.76:1 AA large text Lc -70.7 Content text, not long reading
Black text on #7F7EB7 5.57:1 AA Lc 38.9 Non-text elements, placeholder text
#7F7EB7 text on white 3.76:1 AA large text Lc 65.2 Content text, not long reading
#7F7EB7 text on black 5.57:1 AA Lc -36.5 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200

    #D7D7E8

    oklch(88.4% 0.023 285.9)

  4. Step 300

    300

    #BDBDDB

    oklch(80.8% 0.042 285.4)

  5. Step 400

    400

    #9B9BC9

    oklch(70.6% 0.067 284.6)

  6. Step 500

    500 (this color)

    #7F7EB7

    oklch(61.7% 0.086 284.4)

  7. Step 600

    600

    #6D6BA8

    oklch(55.6% 0.094 284.4)

  8. Step 700

    700

    #5B5990

    oklch(49% 0.087 284.4)

  9. Step 800

    800

    #4B4975

    oklch(42.7% 0.072 285)

  10. Step 900

    900

    #3E3D5E

    oklch(37.6% 0.056 284.8)

  11. Step 950

    950

    #242437

    oklch(26.9% 0.035 283.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F7EB7 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)#6E85B90.028
Deuteranopia (no green cones)#6C82B60.027
Tritanopia (no blue cones)#7188920.074
Achromatopsia (no color)#8383830.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F7EB7

    #7F7EB7

    oklch(61.7% 0.086 284.4)

  • #8D8848

    #8D8848

    oklch(61.7% 0.086 104.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F7EB7

    #7F7EB7

    oklch(61.7% 0.086 284.4)

  • #6188B8

    #6188B8

    oklch(61.8% 0.085 254.1)

  • #9875A9

    #9875A9

    oklch(61.5% 0.086 314.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F7EB7

    #7F7EB7

    oklch(61.7% 0.086 284.4)

  • #A47D48

    #A47D48

    oklch(61.6% 0.085 73.6)

  • #6F915B

    #6F915B

    oklch(61.7% 0.087 134.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F7EB7

    #7F7EB7

    oklch(61.7% 0.086 284.4)

  • #B0745A

    #B0745A

    oklch(61.6% 0.085 44.2)

  • #4F9678

    #4F9678

    oklch(61.8% 0.086 164.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F7EB7

    #7F7EB7

    oklch(61.7% 0.086 284.4)

  • #B36F75

    #B36F75

    oklch(61.6% 0.087 14.2)

  • #8D8848

    #8D8848

    oklch(61.7% 0.086 104.7)

  • #3A9594

    #3A9594

    oklch(61.6% 0.085 194.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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