#7F6EA2

Closest named color: Dark Lavender (#856798). oklch(57.4% 0.081 298.9), rgb(127, 110, 162).

Aa

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

About this color

#7F6EA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.081 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.022 away. Black text reads best on it, at 4.65:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameDark Lavender (#856798)
Black text4.65:1
White text4.51:1

Values

HEX#7F6EA2
RGBrgb(127, 110, 162)
HSLhsl(260, 22%, 53%)
OKLCHoklch(57.4% 0.081 298.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 #7F6EA2 4.51:1 AA Lc -76.8 Fine for body text
Black text on #7F6EA2 4.65:1 AA Lc 32.8 Non-text elements, placeholder text
#7F6EA2 text on white 4.51:1 AA Lc 71.3 Content text, not long reading
#7F6EA2 text on black 4.65:1 AA Lc -30.4 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DBD6E5

    oklch(88.5% 0.021 301.1)

  4. Step 300

    300

    #C3BCD5

    oklch(80.9% 0.036 298.4)

  5. Step 400

    400

    #A599C0

    oklch(70.7% 0.058 299)

  6. Step 500

    500

    #8F80B1

    oklch(63.1% 0.074 298.3)

  7. Step 600

    600 (this color)

    #7F6EA2

    oklch(57.4% 0.081 298.9)

  8. Step 700

    700

    #665786

    oklch(49.1% 0.076 298.2)

  9. Step 800

    800

    #53476C

    oklch(42.6% 0.062 298.7)

  10. Step 900

    900

    #453C58

    oklch(37.7% 0.048 298.8)

  11. Step 950

    950

    #282333

    oklch(26.9% 0.03 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F6EA2 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)#6276A40.045
Deuteranopia (no green cones)#6576A10.042
Tritanopia (no blue cones)#7976810.064
Achromatopsia (no color)#7676760.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F6EA2

    #7F6EA2

    oklch(57.4% 0.081 298.9)

  • #738047

    #738047

    oklch(57.5% 0.082 119.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F6EA2

    #7F6EA2

    oklch(57.4% 0.081 298.9)

  • #6577A9

    #6577A9

    oklch(57.5% 0.08 268.6)

  • #936790

    #936790

    oklch(57.4% 0.081 328.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F6EA2

    #7F6EA2

    oklch(57.4% 0.081 298.9)

  • #8C763D

    #8C763D

    oklch(57.4% 0.081 88.7)

  • #56865E

    #56865E

    oklch(57.4% 0.08 148.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F6EA2

    #7F6EA2

    oklch(57.4% 0.081 298.9)

  • #9C6D47

    #9C6D47

    oklch(57.5% 0.08 59.2)

  • #3A8879

    #3A8879

    oklch(57.4% 0.08 178.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F6EA2

    #7F6EA2

    oklch(57.4% 0.081 298.9)

  • #A3665D

    #A3665D

    oklch(57.4% 0.081 28.9)

  • #738047

    #738047

    oklch(57.5% 0.082 119.6)

  • #338692

    #338692

    oklch(57.5% 0.081 208.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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