#7F7997

Closest named color: Lavender Gray (#7E7F9A). oklch(59.2% 0.046 294.1), rgb(127, 121, 151).

Aa

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

About this color

#7F7997 is a medium-dark, muted purple. In OKLCH its lightness is 59%, its chroma 0.046 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Gray (#7E7F9A), ΔE 0.016 away. Black text reads best on it, at 5.08:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromamuted (0.046)
Temperaturein between
Nearest nameLavender Gray (#7E7F9A)
Black text5.08:1
White text4.13:1

Values

HEX#7F7997
RGBrgb(127, 121, 151)
HSLhsl(252, 13%, 53%)
OKLCHoklch(59.2% 0.046 294.1)

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 #7F7997 4.13:1 AA large text Lc -73.9 Content text, not long reading
Black text on #7F7997 5.08:1 AA Lc 35.7 Non-text elements, placeholder text
#7F7997 text on white 4.13:1 AA large text Lc 68.4 Content text, not long reading
#7F7997 text on black 5.08:1 AA Lc -33.2 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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #EAE9ED

    oklch(93.6% 0.005 297.7)

  3. Step 200

    200

    #D9D8E0

    oklch(88.5% 0.011 291.9)

  4. Step 300

    300

    #C1BECD

    oklch(80.9% 0.021 295.1)

  5. Step 400

    400

    #A19DB4

    oklch(70.7% 0.033 293.5)

  6. Step 500

    500

    #8A85A1

    oklch(63.1% 0.042 293.3)

  7. Step 600

    600 (this color)

    #7F7997

    oklch(59.2% 0.046 294.1)

  8. Step 700

    700

    #625C77

    oklch(49.1% 0.043 294.9)

  9. Step 800

    800

    #504B61

    oklch(42.6% 0.036 295.2)

  10. Step 900

    900

    #423F4F

    oklch(37.7% 0.027 293.6)

  11. Step 950

    950

    #27252E

    oklch(27% 0.017 295.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F7997 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)#737D980.019
Deuteranopia (no green cones)#737C960.019
Tritanopia (no blue cones)#7B7E830.039
Achromatopsia (no color)#7D7D7D0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F7997

    #7F7997

    oklch(59.2% 0.046 294.1)

  • #7D8162

    #7D8162

    oklch(59.1% 0.045 113.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F7997

    #7F7997

    oklch(59.2% 0.046 294.1)

  • #707E9A

    #707E9A

    oklch(59.2% 0.046 264.1)

  • #8C758E

    #8C758E

    oklch(59.2% 0.046 323.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F7997

    #7F7997

    oklch(59.2% 0.046 294.1)

  • #8B7C5F

    #8B7C5F

    oklch(59.2% 0.046 83.7)

  • #6E856D

    #6E856D

    oklch(59.1% 0.045 143.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F7997

    #7F7997

    oklch(59.2% 0.046 294.1)

  • #947764

    #947764

    oklch(59.2% 0.046 54.9)

  • #61877C

    #61877C

    oklch(59.2% 0.046 174.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F7997

    #7F7997

    oklch(59.2% 0.046 294.1)

  • #987471

    #987471

    oklch(59.3% 0.046 24)

  • #7D8162

    #7D8162

    oklch(59.1% 0.045 113.8)

  • #5D868A

    #5D868A

    oklch(59.1% 0.046 203.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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