#7F6797

Closest named color: Dark Lavender (#856798). oklch(55.5% 0.078 306.9), rgb(127, 103, 151).

Aa

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

About this color

#7F6797 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 56%, its chroma 0.078 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.010 away. White text reads best on it, at 4.89:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.28:1
White text4.89:1

Values

HEX#7F6797
RGBrgb(127, 103, 151)
HSLhsl(270, 19%, 50%)
OKLCHoklch(55.5% 0.078 306.9)

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 #7F6797 4.89:1 AA Lc -79.3 Fine for body text
Black text on #7F6797 4.28:1 AA large text Lc 30.2 Non-text elements, placeholder text
#7F6797 text on white 4.89:1 AA Lc 73.9 Content text, not long reading
#7F6797 text on black 4.28:1 AA large text Lc -27.8 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

    #EBE8EF

    oklch(93.5% 0.01 305.4)

  3. Step 200

    200

    #DCD6E3

    oklch(88.5% 0.019 306.6)

  4. Step 300

    300

    #C6BBD3

    oklch(80.9% 0.035 306.2)

  5. Step 400

    400

    #AA98BC

    oklch(70.7% 0.055 307.6)

  6. Step 500

    500

    #957EAC

    oklch(63.1% 0.072 307.2)

  7. Step 600

    600 (this color)

    #7F6797

    oklch(55.5% 0.078 306.9)

  8. Step 700

    700

    #6B5681

    oklch(49.1% 0.071 306.3)

  9. Step 800

    800

    #574669

    oklch(42.6% 0.06 306.2)

  10. Step 900

    900

    #483B55

    oklch(37.7% 0.046 307.1)

  11. Step 950

    950

    #2A2332

    oklch(27.1% 0.029 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F6797 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)#5E70990.052
Deuteranopia (no green cones)#6371960.049
Tritanopia (no blue cones)#7C6E780.059
Achromatopsia (no color)#7171710.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F6797

    #7F6797

    oklch(55.5% 0.078 306.9)

  • #677C49

    #677C49

    oklch(55.6% 0.078 127)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F6797

    #7F6797

    oklch(55.5% 0.078 306.9)

  • #676FA1

    #676FA1

    oklch(55.6% 0.078 276.6)

  • #916184

    #916184

    oklch(55.5% 0.079 337)

Open the analogous palette in the generator

Split complementary

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

  • #7F6797

    #7F6797

    oklch(55.5% 0.078 306.9)

  • #80733B

    #80733B

    oklch(55.5% 0.078 96.6)

  • #4A8161

    #4A8161

    oklch(55.6% 0.077 157.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F6797

    #7F6797

    oklch(55.5% 0.078 306.9)

  • #926A3F

    #926A3F

    oklch(55.6% 0.078 67)

  • #33827B

    #33827B

    oklch(55.6% 0.077 187.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F6797

    #7F6797

    oklch(55.5% 0.078 306.9)

  • #9B6352

    #9B6352

    oklch(55.6% 0.078 37.6)

  • #677C49

    #677C49

    oklch(55.6% 0.078 127)

  • #347E91

    #347E91

    oklch(55.5% 0.078 217.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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