#7857AC

Closest named color: Deep Lavender (#8D5EB7). oklch(53% 0.132 299.8), rgb(120, 87, 172).

Aa

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

About this color

#7857AC is a medium-dark, moderately saturated purple. In OKLCH its lightness is 53%, its chroma 0.132 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lavender (#8D5EB7), ΔE 0.044 away. White text reads best on it, at 5.58:1.

Hue familyPurples
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameDeep Lavender (#8D5EB7)
Black text3.75:1
White text5.58:1

Values

HEX#7857AC
RGBrgb(120, 87, 172)
HSLhsl(263, 34%, 51%)
OKLCHoklch(53% 0.132 299.8)

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 #7857AC 5.58:1 AA Lc -83.0 Fine for body text
Black text on #7857AC 3.75:1 AA large text Lc 26.3 Dividers and decoration only
#7857AC text on white 5.58:1 AA Lc 77.7 Fine for body text
#7857AC text on black 3.75:1 AA large text Lc -24.0 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE7F4

    oklch(93.5% 0.018 300.1)

  3. Step 200

    200

    #DCD5EC

    oklch(88.6% 0.032 299.6)

  4. Step 300

    300

    #C6B9E2

    oklch(81% 0.059 299.6)

  5. Step 400

    400

    #A993D4

    oklch(70.7% 0.096 299.5)

  6. Step 500

    500

    #9577C8

    oklch(63.1% 0.122 300)

  7. Step 600

    600 (this color)

    #7857AC

    oklch(53% 0.132 299.8)

  8. Step 700

    700

    #6C4E9B

    oklch(49.1% 0.122 299.9)

  9. Step 800

    800

    #58407E

    oklch(42.7% 0.102 300)

  10. Step 900

    900

    #483765

    oklch(37.7% 0.079 299.7)

  11. Step 950

    950

    #2A203B

    oklch(26.9% 0.05 300.1)

Export this scale for Tailwind in the Tailwind colors tool

#7857AC 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)#3B68AF0.090
Deuteranopia (no green cones)#4467AA0.082
Tritanopia (no blue cones)#6E67790.103
Achromatopsia (no color)#6868680.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #7857AC

    #7857AC

    oklch(53% 0.132 299.8)

  • #637500

    #637500

    oklch(52.9% 0.125 119.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7857AC

    #7857AC

    oklch(53% 0.132 299.8)

  • #4E65B8

    #4E65B8

    oklch(53% 0.133 269.8)

  • #954C90

    #954C90

    oklch(53.1% 0.132 329.8)

Open the analogous palette in the generator

Split complementary

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

  • #7857AC

    #7857AC

    oklch(53% 0.132 299.8)

  • #846800

    #846800

    oklch(53% 0.108 90.1)

  • #1F803F

    #1F803F

    oklch(53% 0.132 149.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7857AC

    #7857AC

    oklch(53% 0.132 299.8)

  • #9E5700

    #9E5700

    oklch(52.9% 0.124 60.1)

  • #007D6E

    #007D6E

    oklch(52.9% 0.096 180.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7857AC

    #7857AC

    oklch(53% 0.132 299.8)

  • #AB483B

    #AB483B

    oklch(53% 0.133 29.7)

  • #637500

    #637500

    oklch(52.9% 0.125 119.8)

  • #007A89

    #007A89

    oklch(53.1% 0.092 209.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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