#7866BC

Closest named color: Deep Lavender (#8D5EB7). oklch(56.6% 0.13 291.3), rgb(120, 102, 188).

Aa

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

About this color

#7866BC is a medium-dark, moderately saturated purple. In OKLCH its lightness is 57%, its chroma 0.130 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.74:1.

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

Values

HEX#7866BC
RGBrgb(120, 102, 188)
HSLhsl(253, 39%, 57%)
OKLCHoklch(56.6% 0.13 291.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 #7866BC 4.74:1 AA Lc -78.2 Fine for body text
Black text on #7866BC 4.42:1 AA large text Lc 31.3 Non-text elements, placeholder text
#7866BC text on white 4.74:1 AA Lc 72.8 Content text, not long reading
#7866BC text on black 4.42: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

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #D9D6EE

    oklch(88.6% 0.033 291.5)

  4. Step 300

    300

    #C0BBE4

    oklch(81% 0.058 290.6)

  5. Step 400

    400

    #A196D7

    oklch(70.7% 0.094 291.6)

  6. Step 500

    500

    #8B7BCC

    oklch(63.1% 0.12 291.7)

  7. Step 600

    600 (this color)

    #7866BC

    oklch(56.6% 0.13 291.3)

  8. Step 700

    700

    #62529F

    oklch(49.1% 0.12 290.9)

  9. Step 800

    800

    #504381

    oklch(42.7% 0.1 291.2)

  10. Step 900

    900

    #423967

    oklch(37.6% 0.077 291.2)

  11. Step 950

    950

    #27223D

    oklch(27.1% 0.049 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#7866BC 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)#4874BF0.068
Deuteranopia (no green cones)#4A71BA0.065
Tritanopia (no blue cones)#6777880.108
Achromatopsia (no color)#7373730.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #7866BC

    #7866BC

    oklch(56.6% 0.13 291.3)

  • #7A7C00

    #7A7C00

    oklch(56.6% 0.124 110.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7866BC

    #7866BC

    oklch(56.6% 0.13 291.3)

  • #4974C2

    #4974C2

    oklch(56.6% 0.13 261.4)

  • #995AA4

    #995AA4

    oklch(56.7% 0.13 321.5)

Open the analogous palette in the generator

Split complementary

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

  • #7866BC

    #7866BC

    oklch(56.6% 0.13 291.3)

  • #996E00

    #996E00

    oklch(56.7% 0.117 81.4)

  • #46893C

    #46893C

    oklch(56.7% 0.131 141.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7866BC

    #7866BC

    oklch(56.6% 0.13 291.3)

  • #B15C21

    #B15C21

    oklch(56.7% 0.13 51)

  • #008B6E

    #008B6E

    oklch(56.7% 0.111 171.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7866BC

    #7866BC

    oklch(56.6% 0.13 291.3)

  • #B65254

    #B65254

    oklch(56.5% 0.13 20.9)

  • #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 #7866BC, closest first.

Similar named colors

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

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