#7166AC

Closest named color: Dark Lavender (#856798). oklch(55.1% 0.107 289.6), rgb(113, 102, 172).

Aa

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

About this color

#7166AC is a medium-dark, moderately saturated purple. In OKLCH its lightness is 55%, its chroma 0.107 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Lavender (#856798), ΔE 0.046 away. White text reads best on it, at 5.00:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.107)
Temperaturecool
Nearest nameDark Lavender (#856798)
Black text4.19:1
White text5.00:1

Values

HEX#7166AC
RGBrgb(113, 102, 172)
HSLhsl(249, 30%, 54%)
OKLCHoklch(55.1% 0.107 289.6)

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 #7166AC 5.00:1 AA Lc -79.9 Fine for body text
Black text on #7166AC 4.19:1 AA large text Lc 29.6 Dividers and decoration only
#7166AC text on white 5.00:1 AA Lc 74.5 Content text, not long reading
#7166AC text on black 4.19:1 AA large text Lc -27.2 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F3

    oklch(93.5% 0.015 290.3)

  3. Step 200

    200

    #D8D7EA

    oklch(88.6% 0.026 288.3)

  4. Step 300

    300

    #BFBCDE

    oklch(80.9% 0.048 289.3)

  5. Step 400

    400

    #9F99CE

    oklch(70.7% 0.077 289.5)

  6. Step 500

    500

    #887FC1

    oklch(63.1% 0.098 289.5)

  7. Step 600

    600 (this color)

    #7166AC

    oklch(55.1% 0.107 289.6)

  8. Step 700

    700

    #605695

    oklch(49.1% 0.099 289.5)

  9. Step 800

    800

    #4E4679

    oklch(42.6% 0.083 289.6)

  10. Step 900

    900

    #413B61

    oklch(37.6% 0.064 290.2)

  11. Step 950

    950

    #262339

    oklch(27% 0.04 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#7166AC 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)#5071AF0.050
Deuteranopia (no green cones)#506EAA0.049
Tritanopia (no blue cones)#6273810.089
Achromatopsia (no color)#6F6F6F0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #7166AC

    #7166AC

    oklch(55.1% 0.107 289.6)

  • #76771E

    #76771E

    oklch(55.1% 0.108 110.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7166AC

    #7166AC

    oklch(55.1% 0.107 289.6)

  • #4B72B0

    #4B72B0

    oklch(55.2% 0.107 259.3)

  • #8D5C99

    #8D5C99

    oklch(55.1% 0.107 319.6)

Open the analogous palette in the generator

Split complementary

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

  • #7166AC

    #7166AC

    oklch(55.1% 0.107 289.6)

  • #936A15

    #936A15

    oklch(55.2% 0.107 79.8)

  • #4F8142

    #4F8142

    oklch(55.2% 0.107 139.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7166AC

    #7166AC

    oklch(55.1% 0.107 289.6)

  • #A35D34

    #A35D34

    oklch(55.1% 0.107 49.5)

  • #0B8668

    #0B8668

    oklch(55.2% 0.108 169.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7166AC

    #7166AC

    oklch(55.1% 0.107 289.6)

  • #A75658

    #A75658

    oklch(55.1% 0.107 19.6)

  • #76771E

    #76771E

    oklch(55.1% 0.108 110.1)

  • #008287

    #008287

    oklch(55.1% 0.094 199.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7166AC 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.