#7F6AAA

Closest named color: Dark Lavender (#856798). oklch(57% 0.099 298.3), rgb(127, 106, 170).

Aa

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

About this color

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

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

Values

HEX#7F6AAA
RGBrgb(127, 106, 170)
HSLhsl(260, 27%, 54%)
OKLCHoklch(57% 0.099 298.3)

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 #7F6AAA 4.62:1 AA Lc -77.5 Fine for body text
Black text on #7F6AAA 4.54:1 AA Lc 32.1 Non-text elements, placeholder text
#7F6AAA text on white 4.62:1 AA Lc 72.0 Content text, not long reading
#7F6AAA text on black 4.54:1 AA Lc -29.7 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E8

    oklch(88.5% 0.025 298.6)

  4. Step 300

    300

    #C4BBDA

    oklch(80.9% 0.044 298.7)

  5. Step 400

    400

    #A697C8

    oklch(70.7% 0.072 298.6)

  6. Step 500

    500

    #907DB9

    oklch(63% 0.091 298.3)

  7. Step 600

    600 (this color)

    #7F6AAA

    oklch(57% 0.099 298.3)

  8. Step 700

    700

    #67548E

    oklch(49% 0.093 298)

  9. Step 800

    800

    #544573

    oklch(42.6% 0.076 298.1)

  10. Step 900

    900

    #463A5D

    oklch(37.7% 0.06 299.3)

  11. Step 950

    950

    #292236

    oklch(26.9% 0.038 300)

Export this scale for Tailwind in the Tailwind colors tool

#7F6AAA 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)#5A75AC0.057
Deuteranopia (no green cones)#5D74A80.054
Tritanopia (no blue cones)#7775820.079
Achromatopsia (no color)#7575750.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F6AAA

    #7F6AAA

    oklch(57% 0.099 298.3)

  • #727F37

    #727F37

    oklch(57% 0.098 118.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F6AAA

    #7F6AAA

    oklch(57% 0.099 298.3)

  • #5F75B2

    #5F75B2

    oklch(57.1% 0.098 268.1)

  • #976295

    #976295

    oklch(57.1% 0.098 328.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F6AAA

    #7F6AAA

    oklch(57% 0.099 298.3)

  • #907428

    #907428

    oklch(57.2% 0.099 88.2)

  • #4B8756

    #4B8756

    oklch(56.9% 0.098 148.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F6AAA

    #7F6AAA

    oklch(57% 0.099 298.3)

  • #A36838

    #A36838

    oklch(57.1% 0.099 58.1)

  • #198A78

    #198A78

    oklch(57% 0.099 178.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F6AAA

    #7F6AAA

    oklch(57% 0.099 298.3)

  • #AA6056

    #AA6056

    oklch(57.1% 0.098 28.6)

  • #727F37

    #727F37

    oklch(57% 0.098 118.2)

  • #008796

    #008796

    oklch(57% 0.098 208.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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