#7A52EC

Closest named color: Purpley (#8756E4). oklch(56.8% 0.219 289.5), rgb(122, 82, 236).

Aa

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

About this color

#7A52EC is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.219 and its hue 289°. 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 4.94:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.219)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.24:1
White text4.94:1

Values

HEX#7A52EC
RGBrgb(122, 82, 236)
HSLhsl(256, 80%, 62%)
OKLCHoklch(56.8% 0.219 289.5)

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 #7A52EC 4.94:1 AA Lc -79.1 Fine for body text
Black text on #7A52EC 4.24:1 AA large text Lc 30.4 Non-text elements, placeholder text
#7A52EC text on white 4.94:1 AA Lc 73.7 Content text, not long reading
#7A52EC text on black 4.24:1 AA large text Lc -28.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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D8D4FC

    oklch(88.6% 0.055 289.8)

  4. Step 300

    300

    #BFB6FD

    oklch(80.9% 0.1 289.8)

  5. Step 400

    400

    #A08DFB

    oklch(70.7% 0.157 289.7)

  6. Step 500

    500

    #8B6CF9

    oklch(63.2% 0.202 289.5)

  7. Step 600

    600 (this color)

    #7A52EC

    oklch(56.8% 0.219 289.5)

  8. Step 700

    700

    #643DCA

    oklch(49.1% 0.205 289.3)

  9. Step 800

    800

    #5134A3

    oklch(42.7% 0.169 289.2)

  10. Step 900

    900

    #432F81

    oklch(37.7% 0.132 289.8)

  11. Step 950

    950

    #271D4C

    oklch(27.1% 0.083 289.4)

Export this scale for Tailwind in the Tailwind colors tool

#7A52EC 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)#0073F10.119
Deuteranopia (no green cones)#006CE90.117
Tritanopia (no blue cones)#5478980.178
Achromatopsia (no color)#7070700.221

Harmonies

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

Complementary

The opposite hue (180°).

  • #7A52EC

    #7A52EC

    oklch(56.8% 0.219 289.5)

  • #7D7C00

    #7D7C00

    oklch(56.8% 0.123 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7A52EC

    #7A52EC

    oklch(56.8% 0.219 289.5)

  • #0A6DF4

    #0A6DF4

    oklch(56.9% 0.218 259.4)

  • #AB3AC5

    #AB3AC5

    oklch(56.8% 0.219 319.4)

Open the analogous palette in the generator

Split complementary

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

  • #7A52EC

    #7A52EC

    oklch(56.8% 0.219 289.5)

  • #9B6D00

    #9B6D00

    oklch(56.7% 0.118 79.4)

  • #2E8E00

    #2E8E00

    oklch(56.8% 0.181 139.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7A52EC

    #7A52EC

    oklch(56.8% 0.219 289.5)

  • #BA5500

    #BA5500

    oklch(56.7% 0.151 49.4)

  • #008C6C

    #008C6C

    oklch(56.9% 0.113 169.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7A52EC

    #7A52EC

    oklch(56.8% 0.219 289.5)

  • #DA163E

    #DA163E

    oklch(56.8% 0.219 19.5)

  • #7D7C00

    #7D7C00

    oklch(56.8% 0.123 109.2)

  • #00888D

    #00888D

    oklch(56.9% 0.097 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 #7A52EC, closest first.

Similar named colors

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

Use #7A52EC 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.