#7856E7

Closest named color: Purpley (#8756E4). oklch(56.8% 0.209 288.8), rgb(120, 86, 231).

Aa

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

About this color

#7856E7 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.209 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.026 away. White text reads best on it, at 4.90:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.209)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.28:1
White text4.90:1

Values

HEX#7856E7
RGBrgb(120, 86, 231)
HSLhsl(254, 75%, 62%)
OKLCHoklch(56.8% 0.209 288.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 #7856E7 4.90:1 AA Lc -78.9 Fine for body text
Black text on #7856E7 4.28:1 AA large text Lc 30.6 Non-text elements, placeholder text
#7856E7 text on white 4.90:1 AA Lc 73.5 Content text, not long reading
#7856E7 text on black 4.28:1 AA large text Lc -28.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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D7D4FA

    oklch(88.4% 0.052 288.9)

  4. Step 300

    300

    #BEB7FA

    oklch(80.9% 0.094 288.9)

  5. Step 400

    400

    #9E8FF8

    oklch(70.7% 0.15 288.5)

  6. Step 500

    500

    #896FF4

    oklch(63.2% 0.191 288.7)

  7. Step 600

    600 (this color)

    #7856E7

    oklch(56.8% 0.209 288.8)

  8. Step 700

    700

    #6241C5

    oklch(49.1% 0.194 288.6)

  9. Step 800

    800

    #50379F

    oklch(42.7% 0.16 288.8)

  10. Step 900

    900

    #42317E

    oklch(37.7% 0.125 289.2)

  11. Step 950

    950

    #261E4A

    oklch(27.1% 0.079 288.4)

Export this scale for Tailwind in the Tailwind colors tool

#7856E7 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)#0074EC0.114
Deuteranopia (no green cones)#006DE40.112
Tritanopia (no blue cones)#5379970.171
Achromatopsia (no color)#7171710.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #7856E7

    #7856E7

    oklch(56.8% 0.209 288.8)

  • #7D7C00

    #7D7C00

    oklch(56.8% 0.123 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7856E7

    #7856E7

    oklch(56.8% 0.209 288.8)

  • #106FEE

    #106FEE

    oklch(56.9% 0.208 258.7)

  • #A840C3

    #A840C3

    oklch(56.9% 0.208 318.6)

Open the analogous palette in the generator

Split complementary

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

  • #7856E7

    #7856E7

    oklch(56.8% 0.209 288.8)

  • #9C6D00

    #9C6D00

    oklch(56.9% 0.118 78.8)

  • #338E00

    #338E00

    oklch(56.9% 0.179 138.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7856E7

    #7856E7

    oklch(56.8% 0.209 288.8)

  • #BB5400

    #BB5400

    oklch(56.7% 0.153 48.7)

  • #008C6B

    #008C6B

    oklch(56.9% 0.114 168.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7856E7

    #7856E7

    oklch(56.8% 0.209 288.8)

  • #D62443

    #D62443

    oklch(56.9% 0.209 18.9)

  • #7D7C00

    #7D7C00

    oklch(56.8% 0.123 109.2)

  • #00888C

    #00888C

    oklch(56.9% 0.097 198.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7856E7 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.