#7852E5

Closest named color: Purpley (#8756E4). oklch(56.1% 0.211 289.7), rgb(120, 82, 229).

Aa

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

About this color

#7852E5 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.211 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.028 away. White text reads best on it, at 5.07:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.211)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.13:1
White text5.07:1

Values

HEX#7852E5
RGBrgb(120, 82, 229)
HSLhsl(256, 74%, 61%)
OKLCHoklch(56.1% 0.211 289.7)

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 #7852E5 5.07:1 AA Lc -79.9 Fine for body text
Black text on #7852E5 4.13:1 AA large text Lc 29.6 Dividers and decoration only
#7852E5 text on white 5.07:1 AA Lc 74.5 Content text, not long reading
#7852E5 text on black 4.13: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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D8D4FB

    oklch(88.5% 0.053 290)

  4. Step 300

    300

    #BFB7FA

    oklch(81% 0.094 289.6)

  5. Step 400

    400

    #A08EF8

    oklch(70.7% 0.152 289.7)

  6. Step 500

    500

    #8B6DF5

    oklch(63.1% 0.195 289.8)

  7. Step 600

    600 (this color)

    #7852E5

    oklch(56.1% 0.211 289.7)

  8. Step 700

    700

    #6440C5

    oklch(49.1% 0.195 289.7)

  9. Step 800

    800

    #5136A0

    oklch(42.7% 0.163 289.4)

  10. Step 900

    900

    #43307F

    oklch(37.7% 0.128 290)

  11. Step 950

    950

    #271D4A

    oklch(27% 0.08 290.2)

Export this scale for Tailwind in the Tailwind colors tool

#7852E5 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)#0071EA0.117
Deuteranopia (no green cones)#006BE20.115
Tritanopia (no blue cones)#5475940.171
Achromatopsia (no color)#6E6E6E0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #7852E5

    #7852E5

    oklch(56.1% 0.211 289.7)

  • #7A7A00

    #7A7A00

    oklch(56.1% 0.122 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7852E5

    #7852E5

    oklch(56.1% 0.211 289.7)

  • #146BED

    #146BED

    oklch(56% 0.211 259.7)

  • #A83BC0

    #A83BC0

    oklch(56.2% 0.212 319.8)

Open the analogous palette in the generator

Split complementary

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

  • #7852E5

    #7852E5

    oklch(56.1% 0.211 289.7)

  • #986B00

    #986B00

    oklch(56% 0.116 79.5)

  • #2B8C00

    #2B8C00

    oklch(56.1% 0.18 139.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7852E5

    #7852E5

    oklch(56.1% 0.211 289.7)

  • #B75400

    #B75400

    oklch(56.1% 0.149 49.7)

  • #00896A

    #00896A

    oklch(56% 0.111 169.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7852E5

    #7852E5

    oklch(56.1% 0.211 289.7)

  • #D41D3E

    #D41D3E

    oklch(56% 0.211 19.5)

  • #7A7A00

    #7A7A00

    oklch(56.1% 0.122 109.8)

  • #00858A

    #00858A

    oklch(56% 0.095 199.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7852E5 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.