#7B52F0

Closest named color: Purpley (#8756E4). oklch(57.2% 0.224 289.3), rgb(123, 82, 240).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.224)
Temperaturecool
Nearest namePurpley (#8756E4)
Black text4.30:1
White text4.87:1

Values

HEX#7B52F0
RGBrgb(123, 82, 240)
HSLhsl(256, 84%, 63%)
OKLCHoklch(57.2% 0.224 289.3)

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 #7B52F0 4.87:1 AA Lc -78.6 Fine for body text
Black text on #7B52F0 4.30:1 AA large text Lc 30.9 Non-text elements, placeholder text
#7B52F0 text on white 4.87:1 AA Lc 73.2 Content text, not long reading
#7B52F0 text on black 4.30:1 AA large text Lc -28.5 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

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D7D4FD

    oklch(88.5% 0.056 288.5)

  4. Step 300

    300

    #BEB6FE

    oklch(80.9% 0.101 289)

  5. Step 400

    400

    #9F8CFD

    oklch(70.6% 0.161 289.3)

  6. Step 500

    500

    #8B6BFB

    oklch(63.2% 0.205 289.4)

  7. Step 600

    600 (this color)

    #7B52F0

    oklch(57.2% 0.224 289.3)

  8. Step 700

    700

    #643CCC

    oklch(49.1% 0.208 289.1)

  9. Step 800

    800

    #5133A5

    oklch(42.7% 0.173 289)

  10. Step 900

    900

    #432F83

    oklch(37.8% 0.135 289.3)

  11. Step 950

    950

    #271C4C

    oklch(26.9% 0.085 290)

Export this scale for Tailwind in the Tailwind colors tool

#7B52F0 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)#0074F50.120
Deuteranopia (no green cones)#006DED0.117
Tritanopia (no blue cones)#53799A0.182
Achromatopsia (no color)#7171710.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B52F0

    #7B52F0

    oklch(57.2% 0.224 289.3)

  • #7E7D00

    #7E7D00

    oklch(57.2% 0.124 109.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B52F0

    #7B52F0

    oklch(57.2% 0.224 289.3)

  • #016DF8

    #016DF8

    oklch(57.1% 0.224 259.3)

  • #AD39C9

    #AD39C9

    oklch(57.2% 0.224 319)

Open the analogous palette in the generator

Split complementary

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

  • #7B52F0

    #7B52F0

    oklch(57.2% 0.224 289.3)

  • #9D6E00

    #9D6E00

    oklch(57.2% 0.119 79)

  • #308F00

    #308F00

    oklch(57.1% 0.181 139.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B52F0

    #7B52F0

    oklch(57.2% 0.224 289.3)

  • #BC5600

    #BC5600

    oklch(57.2% 0.152 49.4)

  • #008D6D

    #008D6D

    oklch(57.2% 0.114 169.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B52F0

    #7B52F0

    oklch(57.2% 0.224 289.3)

  • #DD103E

    #DD103E

    oklch(57.2% 0.224 19.3)

  • #7E7D00

    #7E7D00

    oklch(57.2% 0.124 109.2)

  • #00898E

    #00898E

    oklch(57.2% 0.097 199.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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