#7866BD

Closest named color: Deep Lavender (#8D5EB7). oklch(56.7% 0.131 291.1), rgb(120, 102, 189).

Aa

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

About this color

#7866BD is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.131 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.038 away. White text reads best on it, at 4.73:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text4.43:1
White text4.73:1

Values

HEX#7866BD
RGBrgb(120, 102, 189)
HSLhsl(252, 40%, 57%)
OKLCHoklch(56.7% 0.131 291.1)

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 #7866BD 4.73:1 AA Lc -78.2 Fine for body text
Black text on #7866BD 4.43:1 AA large text Lc 31.3 Non-text elements, placeholder text
#7866BD text on white 4.73:1 AA Lc 72.7 Content text, not long reading
#7866BD text on black 4.43:1 AA large text Lc -28.9 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

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D9D6EE

    oklch(88.6% 0.033 291.5)

  4. Step 300

    300

    #C0BBE5

    oklch(81% 0.059 290.5)

  5. Step 400

    400

    #A196D7

    oklch(70.7% 0.094 291.6)

  6. Step 500

    500

    #8A7BCD

    oklch(63.1% 0.121 290.9)

  7. Step 600

    600 (this color)

    #7866BD

    oklch(56.7% 0.131 291.1)

  8. Step 700

    700

    #6251A0

    oklch(49% 0.123 291.1)

  9. Step 800

    800

    #504382

    oklch(42.7% 0.102 290.9)

  10. Step 900

    900

    #423968

    oklch(37.7% 0.079 290.9)

  11. Step 950

    950

    #27223D

    oklch(27.1% 0.049 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#7866BD 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)#4875C00.069
Deuteranopia (no green cones)#4971BB0.066
Tritanopia (no blue cones)#6777880.109
Achromatopsia (no color)#7373730.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #7866BD

    #7866BD

    oklch(56.7% 0.131 291.1)

  • #7A7C00

    #7A7C00

    oklch(56.6% 0.124 110.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7866BD

    #7866BD

    oklch(56.7% 0.131 291.1)

  • #4874C3

    #4874C3

    oklch(56.6% 0.132 261.2)

  • #995AA5

    #995AA5

    oklch(56.8% 0.131 321)

Open the analogous palette in the generator

Split complementary

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

  • #7866BD

    #7866BD

    oklch(56.7% 0.131 291.1)

  • #996E00

    #996E00

    oklch(56.7% 0.117 81.4)

  • #45893B

    #45893B

    oklch(56.7% 0.132 141.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7866BD

    #7866BD

    oklch(56.7% 0.131 291.1)

  • #B15C20

    #B15C20

    oklch(56.6% 0.131 51.3)

  • #008B6E

    #008B6E

    oklch(56.7% 0.111 171.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7866BD

    #7866BD

    oklch(56.7% 0.131 291.1)

  • #B75254

    #B75254

    oklch(56.7% 0.131 21)

  • #7A7C00

    #7A7C00

    oklch(56.6% 0.124 110.9)

  • #00878E

    #00878E

    oklch(56.7% 0.096 201.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7866BD 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.