#8C52EE

Closest named color: Purpley (#8756E4). oklch(58.7% 0.222 295.9), rgb(140, 82, 238).

Aa

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

About this color

#8C52EE is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.222 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.019 away. White text reads best on it, at 4.60:1.

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.222)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.55:1
White text4.60:1

Values

HEX#8C52EE
RGBrgb(140, 82, 238)
HSLhsl(262, 82%, 63%)
OKLCHoklch(58.7% 0.222 295.9)

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 #8C52EE 4.60:1 AA Lc -76.9 Fine for body text
Black text on #8C52EE 4.55:1 AA Lc 32.7 Non-text elements, placeholder text
#8C52EE text on white 4.60:1 AA Lc 71.4 Content text, not long reading
#8C52EE text on black 4.55:1 AA Lc -30.3 Non-text elements, placeholder text

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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FC

    oklch(93.5% 0.03 296.2)

  3. Step 200

    200

    #DCD2FB

    oklch(88.5% 0.057 296.4)

  4. Step 300

    300

    #C6B4FA

    oklch(81% 0.099 295.9)

  5. Step 400

    400

    #AA89F8

    oklch(70.7% 0.16 295.7)

  6. Step 500

    500

    #9766F5

    oklch(63.1% 0.205 295.7)

  7. Step 600

    600 (this color)

    #8C52EE

    oklch(58.7% 0.222 295.9)

  8. Step 700

    700

    #6F37C5

    oklch(49% 0.206 295.8)

  9. Step 800

    800

    #5A2FA0

    oklch(42.7% 0.172 295.6)

  10. Step 900

    900

    #4A2C7F

    oklch(37.8% 0.134 296)

  11. Step 950

    950

    #2B1B4A

    oklch(27% 0.084 296)

Export this scale for Tailwind in the Tailwind colors tool

#8C52EE 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)#0076F30.144
Deuteranopia (no green cones)#0073EB0.144
Tritanopia (no blue cones)#7377990.173
Achromatopsia (no color)#7575750.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #8C52EE

    #8C52EE

    oklch(58.7% 0.222 295.9)

  • #798500

    #798500

    oklch(58.6% 0.134 115.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8C52EE

    #8C52EE

    oklch(58.7% 0.222 295.9)

  • #3D6CFE

    #3D6CFE

    oklch(58.6% 0.223 266)

  • #BA3AC1

    #BA3AC1

    oklch(58.6% 0.222 325.7)

Open the analogous palette in the generator

Split complementary

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

  • #8C52EE

    #8C52EE

    oklch(58.7% 0.222 295.9)

  • #9C7600

    #9C7600

    oklch(58.7% 0.12 86)

  • #00962E

    #00962E

    oklch(58.6% 0.179 145.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8C52EE

    #8C52EE

    oklch(58.7% 0.222 295.9)

  • #BB6100

    #BB6100

    oklch(58.8% 0.144 55.8)

  • #00917A

    #00917A

    oklch(58.7% 0.11 176.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8C52EE

    #8C52EE

    oklch(58.7% 0.222 295.9)

  • #E2222B

    #E2222B

    oklch(58.6% 0.222 25.9)

  • #798500

    #798500

    oklch(58.6% 0.134 115.9)

  • #008D99

    #008D99

    oklch(58.7% 0.1 205.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8C52EE.

Similar named colors

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

Use #8C52EE 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.