#7F66A7

Closest named color: Dark Lavender (#856798). oklch(56.1% 0.102 300.9), rgb(127, 102, 167).

Aa

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

About this color

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

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

Values

HEX#7F66A7
RGBrgb(127, 102, 167)
HSLhsl(263, 27%, 53%)
OKLCHoklch(56.1% 0.102 300.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 #7F66A7 4.81:1 AA Lc -78.8 Fine for body text
Black text on #7F66A7 4.36:1 AA large text Lc 30.8 Non-text elements, placeholder text
#7F66A7 text on white 4.81:1 AA Lc 73.3 Content text, not long reading
#7F66A7 text on black 4.36:1 AA large text Lc -28.4 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DCD6E8

    oklch(88.6% 0.025 301)

  4. Step 300

    300

    #C5BADA

    oklch(80.8% 0.046 301)

  5. Step 400

    400

    #A896C8

    oklch(70.6% 0.074 301)

  6. Step 500

    500

    #937CB9

    oklch(63.1% 0.093 301.1)

  7. Step 600

    600 (this color)

    #7F66A7

    oklch(56.1% 0.102 300.9)

  8. Step 700

    700

    #6A538E

    oklch(49.1% 0.095 300.9)

  9. Step 800

    800

    #564473

    oklch(42.6% 0.079 300.8)

  10. Step 900

    900

    #473A5D

    oklch(37.8% 0.06 300.6)

  11. Step 950

    950

    #2A2236

    oklch(27% 0.038 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F66A7 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)#5672A90.064
Deuteranopia (no green cones)#5B72A50.060
Tritanopia (no blue cones)#78717E0.080
Achromatopsia (no color)#7272720.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F66A7

    #7F66A7

    oklch(56.1% 0.102 300.9)

  • #6C7E34

    #6C7E34

    oklch(56.2% 0.102 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F66A7

    #7F66A7

    oklch(56.1% 0.102 300.9)

  • #5F71B1

    #5F71B1

    oklch(56.2% 0.102 270.9)

  • #975E90

    #975E90

    oklch(56.2% 0.101 331.3)

Open the analogous palette in the generator

Split complementary

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

  • #7F66A7

    #7F66A7

    oklch(56.1% 0.102 300.9)

  • #8B7221

    #8B7221

    oklch(56.1% 0.101 91.1)

  • #438655

    #438655

    oklch(56.2% 0.102 150.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F66A7

    #7F66A7

    oklch(56.1% 0.102 300.9)

  • #9F6630

    #9F6630

    oklch(56.2% 0.101 61.6)

  • #008878

    #008878

    oklch(56.2% 0.101 180.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F66A7

    #7F66A7

    oklch(56.1% 0.102 300.9)

  • #A85D4F

    #A85D4F

    oklch(56.2% 0.101 31.6)

  • #6C7E34

    #6C7E34

    oklch(56.2% 0.102 121.2)

  • #008495

    #008495

    oklch(56.2% 0.097 210.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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