#7F628E

Closest named color: Dusty Purple (#825F87). oklch(54.2% 0.075 313.8), rgb(127, 98, 142).

Aa

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

About this color

#7F628E is a medium-dark, moderately saturated purple. In OKLCH its lightness is 54%, its chroma 0.075 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Purple (#825F87), ΔE 0.012 away. White text reads best on it, at 5.19:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameDusty Purple (#825F87)
Black text4.04:1
White text5.19:1

Values

HEX#7F628E
RGBrgb(127, 98, 142)
HSLhsl(280, 18%, 47%)
OKLCHoklch(54.2% 0.075 313.8)

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 #7F628E 5.19:1 AA Lc -81.1 Fine for body text
Black text on #7F628E 4.04:1 AA large text Lc 28.4 Dividers and decoration only
#7F628E text on white 5.19:1 AA Lc 75.7 Fine for body text
#7F628E text on black 4.04:1 AA large text Lc -26.0 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DED6E2

    oklch(88.6% 0.018 314.7)

  4. Step 300

    300

    #C9BBD0

    oklch(81% 0.033 314.6)

  5. Step 400

    400

    #AD97B9

    oklch(70.7% 0.055 313.7)

  6. Step 500

    500

    #997DA7

    oklch(63.1% 0.069 314.3)

  7. Step 600

    600 (this color)

    #7F628E

    oklch(54.2% 0.075 313.8)

  8. Step 700

    700

    #6F557D

    oklch(49.2% 0.07 313.4)

  9. Step 800

    800

    #5A4565

    oklch(42.5% 0.058 313.7)

  10. Step 900

    900

    #4A3A53

    oklch(37.6% 0.047 313.1)

  11. Step 950

    950

    #2B2230

    oklch(26.8% 0.028 313.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F628E 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)#5B6B900.058
Deuteranopia (no green cones)#626D8D0.052
Tritanopia (no blue cones)#7E67720.051
Achromatopsia (no color)#6D6D6D0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F628E

    #7F628E

    oklch(54.2% 0.075 313.8)

  • #5D794B

    #5D794B

    oklch(54.2% 0.076 133.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F628E

    #7F628E

    oklch(54.2% 0.075 313.8)

  • #69699A

    #69699A

    oklch(54.1% 0.076 283.6)

  • #8E5D7A

    #8E5D7A

    oklch(54.1% 0.075 343.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F628E

    #7F628E

    oklch(54.2% 0.075 313.8)

  • #76713B

    #76713B

    oklch(54% 0.075 103.9)

  • #427D63

    #427D63

    oklch(54.2% 0.075 163.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F628E

    #7F628E

    oklch(54.2% 0.075 313.8)

  • #89683B

    #89683B

    oklch(54% 0.075 73.7)

  • #2F7D7C

    #2F7D7C

    oklch(54.2% 0.075 194)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F628E

    #7F628E

    oklch(54.2% 0.075 313.8)

  • #94614B

    #94614B

    oklch(54.2% 0.075 44.1)

  • #5D794B

    #5D794B

    oklch(54.2% 0.076 133.8)

  • #37798F

    #37798F

    oklch(54.2% 0.075 222.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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