#7F66CE

Closest named color: Deep Lavender (#8D5EB7). oklch(58.3% 0.155 292), rgb(127, 102, 206).

Aa

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

About this color

#7F66CE is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.155 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.043 away. Black text reads best on it, at 4.69:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.155)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.69:1
White text4.47:1

Values

HEX#7F66CE
RGBrgb(127, 102, 206)
HSLhsl(254, 51%, 60%)
OKLCHoklch(58.3% 0.155 292)

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 #7F66CE 4.47:1 AA large text Lc -76.3 Fine for body text
Black text on #7F66CE 4.69:1 AA Lc 33.2 Non-text elements, placeholder text
#7F66CE text on white 4.47:1 AA large text Lc 70.8 Content text, not long reading
#7F66CE text on black 4.69:1 AA Lc -30.8 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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F7

    oklch(93.7% 0.02 292.1)

  3. Step 200

    200

    #D9D5F1

    oklch(88.5% 0.038 292.2)

  4. Step 300

    300

    #C1B9EB

    oklch(80.9% 0.07 292.1)

  5. Step 400

    400

    #A293E0

    oklch(70.6% 0.112 292.2)

  6. Step 500

    500

    #8C77D8

    oklch(63.1% 0.143 291.7)

  7. Step 600

    600 (this color)

    #7F66CE

    oklch(58.3% 0.155 292)

  8. Step 700

    700

    #644DAA

    oklch(49.1% 0.143 291.6)

  9. Step 800

    800

    #523F8A

    oklch(42.7% 0.12 292.2)

  10. Step 900

    900

    #43366E

    oklch(37.6% 0.093 292)

  11. Step 950

    950

    #272041

    oklch(26.9% 0.06 291.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F66CE 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)#3C79D20.089
Deuteranopia (no green cones)#4075CC0.085
Tritanopia (no blue cones)#6B7B900.127
Achromatopsia (no color)#7777770.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F66CE

    #7F66CE

    oklch(58.3% 0.155 292)

  • #7E8200

    #7E8200

    oklch(58.4% 0.129 111.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F66CE

    #7F66CE

    oklch(58.3% 0.155 292)

  • #4677D6

    #4677D6

    oklch(58.3% 0.155 262.2)

  • #A557B1

    #A557B1

    oklch(58.4% 0.156 322.1)

Open the analogous palette in the generator

Split complementary

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

  • #7F66CE

    #7F66CE

    oklch(58.3% 0.155 292)

  • #9E7300

    #9E7300

    oklch(58.3% 0.12 82.4)

  • #3B9133

    #3B9133

    oklch(58.3% 0.155 141.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F66CE

    #7F66CE

    oklch(58.3% 0.155 292)

  • #BE5C00

    #BE5C00

    oklch(58.4% 0.15 52.1)

  • #009074

    #009074

    oklch(58.2% 0.112 172.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F66CE

    #7F66CE

    oklch(58.3% 0.155 292)

  • #C64E50

    #C64E50

    oklch(58.4% 0.154 22.2)

  • #7E8200

    #7E8200

    oklch(58.4% 0.129 111.9)

  • #008C94

    #008C94

    oklch(58.3% 0.099 201.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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