#7F7FA7

Closest named color: Lavender Gray (#7E7F9A). oklch(61.1% 0.06 284.5), rgb(127, 127, 167).

Aa

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

About this color

#7F7FA7 is a medium-dark, muted purple. In OKLCH its lightness is 61%, its chroma 0.060 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.020 away. Black text reads best on it, at 5.49:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamuted (0.060)
Temperaturecool
Nearest nameLavender Gray (#7E7F9A)
Black text5.49:1
White text3.82:1

Values

HEX#7F7FA7
RGBrgb(127, 127, 167)
HSLhsl(240, 19%, 58%)
OKLCHoklch(61.1% 0.06 284.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 #7F7FA7 3.82:1 AA large text Lc -71.2 Content text, not long reading
Black text on #7F7FA7 5.49:1 AA Lc 38.4 Non-text elements, placeholder text
#7F7FA7 text on white 3.82:1 AA large text Lc 65.7 Content text, not long reading
#7F7FA7 text on black 5.49:1 AA Lc -35.9 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

    #E9E9EF

    oklch(93.6% 0.008 286.2)

  3. Step 200

    200

    #D7D8E4

    oklch(88.5% 0.016 282.2)

  4. Step 300

    300

    #BEBED4

    oklch(80.8% 0.031 285.7)

  5. Step 400

    400

    #9D9DBE

    oklch(70.7% 0.048 285.1)

  6. Step 500

    500 (this color)

    #7F7FA7

    oklch(61.1% 0.06 284.5)

  7. Step 600

    600

    #6F6E99

    oklch(55.6% 0.066 285.1)

  8. Step 700

    700

    #5C5C82

    oklch(49% 0.06 283.9)

  9. Step 800

    800

    #4C4B6A

    oklch(42.7% 0.051 285.5)

  10. Step 900

    900

    #3F3F56

    oklch(37.7% 0.039 284.4)

  11. Step 950

    950

    #252532

    oklch(27% 0.024 284.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F7FA7 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)#7584A90.018
Deuteranopia (no green cones)#7381A60.018
Tritanopia (no blue cones)#76868D0.052
Achromatopsia (no color)#8282820.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F7FA7

    #7F7FA7

    oklch(61.1% 0.06 284.5)

  • #89865B

    #89865B

    oklch(61.2% 0.061 104.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F7FA7

    #7F7FA7

    oklch(61.1% 0.06 284.5)

  • #6B86A8

    #6B86A8

    oklch(61.2% 0.061 254.4)

  • #91799D

    #91799D

    oklch(61.1% 0.06 314.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F7FA7

    #7F7FA7

    oklch(61.1% 0.06 284.5)

  • #997F5B

    #997F5B

    oklch(61.2% 0.06 75.3)

  • #748C67

    #748C67

    oklch(61.1% 0.061 134.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F7FA7

    #7F7FA7

    oklch(61.1% 0.06 284.5)

  • #A37866

    #A37866

    oklch(61.1% 0.06 43.7)

  • #618F7A

    #618F7A

    oklch(61% 0.06 164.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F7FA7

    #7F7FA7

    oklch(61.1% 0.06 284.5)

  • #A57578

    #A57578

    oklch(61.2% 0.061 14.9)

  • #89865B

    #89865B

    oklch(61.2% 0.061 104.7)

  • #568F8E

    #568F8E

    oklch(61.1% 0.06 194.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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