#7F668E

Closest named color: Dark Lavender (#856798). oklch(55% 0.067 312.5), rgb(127, 102, 142).

Aa

White text reads best on this color (5.00:1).

About this color

#7F668E is a medium-dark, muted purple. In OKLCH its lightness is 55%, its chroma 0.067 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.019 away. White text reads best on it, at 5.00:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamuted (0.067)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.19:1
White text5.00:1

Values

HEX#7F668E
RGBrgb(127, 102, 142)
HSLhsl(278, 16%, 48%)
OKLCHoklch(55% 0.067 312.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 #7F668E 5.00:1 AA Lc -80.0 Fine for body text
Black text on #7F668E 4.19:1 AA large text Lc 29.5 Dividers and decoration only
#7F668E text on white 5.00:1 AA Lc 74.6 Content text, not long reading
#7F668E text on black 4.19:1 AA large text Lc -27.1 Dividers and decoration only

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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DDD6E1

    oklch(88.5% 0.017 313.6)

  4. Step 300

    300

    #C7BBCF

    oklch(80.8% 0.031 312.1)

  5. Step 400

    400

    #AB98B7

    oklch(70.7% 0.049 312.4)

  6. Step 500

    500

    #967FA5

    oklch(63.1% 0.062 311.8)

  7. Step 600

    600 (this color)

    #7F668E

    oklch(55% 0.067 312.5)

  8. Step 700

    700

    #6D567A

    oklch(49% 0.063 313)

  9. Step 800

    800

    #594764

    oklch(42.8% 0.052 312.3)

  10. Step 900

    900

    #493B51

    oklch(37.6% 0.041 313.1)

  11. Step 950

    950

    #2B2330

    oklch(27.1% 0.026 312.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F668E 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)#606E900.050
Deuteranopia (no green cones)#65708D0.047
Tritanopia (no blue cones)#7E6B740.048
Achromatopsia (no color)#6F6F6F0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F668E

    #7F668E

    oklch(55% 0.067 312.5)

  • #627A51

    #627A51

    oklch(54.9% 0.067 132.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F668E

    #7F668E

    oklch(55% 0.067 312.5)

  • #6B6D98

    #6B6D98

    oklch(55% 0.067 281.9)

  • #8D627C

    #8D627C

    oklch(55% 0.066 342.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F668E

    #7F668E

    oklch(55% 0.067 312.5)

  • #797343

    #797343

    oklch(54.9% 0.068 102.1)

  • #4B7E66

    #4B7E66

    oklch(55% 0.067 162.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F668E

    #7F668E

    oklch(55% 0.067 312.5)

  • #8A6B44

    #8A6B44

    oklch(54.9% 0.067 72)

  • #3C7E7C

    #3C7E7C

    oklch(55% 0.067 192.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F668E

    #7F668E

    oklch(55% 0.067 312.5)

  • #936452

    #936452

    oklch(54.8% 0.067 41.8)

  • #627A51

    #627A51

    oklch(54.9% 0.067 132.9)

  • #417A8E

    #417A8E

    oklch(54.9% 0.067 223.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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