#7952E2

Closest named color: Purpley (#8756E4). oklch(56% 0.208 290.6), rgb(121, 82, 226).

Aa

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

About this color

#7952E2 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.208 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley (#8756E4), ΔE 0.026 away. White text reads best on it, at 5.09:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.208)
Temperaturein between
Nearest namePurpley (#8756E4)
Black text4.11:1
White text5.09:1

Values

HEX#7952E2
RGBrgb(121, 82, 226)
HSLhsl(256, 71%, 60%)
OKLCHoklch(56% 0.208 290.6)

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 #7952E2 5.09:1 AA Lc -80.1 Fine for body text
Black text on #7952E2 4.11:1 AA large text Lc 29.4 Dividers and decoration only
#7952E2 text on white 5.09:1 AA Lc 74.7 Content text, not long reading
#7952E2 text on black 4.11:1 AA large text Lc -27.1 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

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D8D4FA

    oklch(88.5% 0.052 290.1)

  4. Step 300

    300

    #C0B7F9

    oklch(81% 0.093 290.4)

  5. Step 400

    400

    #A18EF6

    oklch(70.7% 0.149 290.5)

  6. Step 500

    500

    #8C6DF2

    oklch(63% 0.191 290.6)

  7. Step 600

    600 (this color)

    #7952E2

    oklch(56% 0.208 290.6)

  8. Step 700

    700

    #6540C3

    oklch(49% 0.193 290.5)

  9. Step 800

    800

    #52369E

    oklch(42.7% 0.16 290.3)

  10. Step 900

    900

    #44317D

    oklch(37.8% 0.123 290.8)

  11. Step 950

    950

    #271D49

    oklch(26.9% 0.079 290.6)

Export this scale for Tailwind in the Tailwind colors tool

#7952E2 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)#0071E70.119
Deuteranopia (no green cones)#006BDF0.117
Tritanopia (no blue cones)#5874930.167
Achromatopsia (no color)#6E6E6E0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #7952E2

    #7952E2

    oklch(56% 0.208 290.6)

  • #797A00

    #797A00

    oklch(56% 0.123 110.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7952E2

    #7952E2

    oklch(56% 0.208 290.6)

  • #1E6BEB

    #1E6BEB

    oklch(56% 0.207 260.4)

  • #A73CBD

    #A73CBD

    oklch(55.9% 0.208 320.3)

Open the analogous palette in the generator

Split complementary

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

  • #7952E2

    #7952E2

    oklch(56% 0.208 290.6)

  • #976B00

    #976B00

    oklch(55.9% 0.116 80.2)

  • #238C00

    #238C00

    oklch(55.9% 0.182 140.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7952E2

    #7952E2

    oklch(56% 0.208 290.6)

  • #B55500

    #B55500

    oklch(56% 0.146 50.8)

  • #00896B

    #00896B

    oklch(56.1% 0.111 170.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7952E2

    #7952E2

    oklch(56% 0.208 290.6)

  • #D2213C

    #D2213C

    oklch(55.9% 0.207 20.5)

  • #797A00

    #797A00

    oklch(56% 0.123 110.3)

  • #00858B

    #00858B

    oklch(56.1% 0.095 200.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7952E2.

Similar named colors

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

Use #7952E2 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.