#7D2F8E

Closest named color: Warm Purple (#952E8F). oklch(45.8% 0.162 320), rgb(125, 47, 142).

Aa

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

About this color

#7D2F8E is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.162 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.049 away. White text reads best on it, at 7.86:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.162)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text2.66:1
White text7.86:1

Values

HEX#7D2F8E
RGBrgb(125, 47, 142)
HSLhsl(289, 50%, 37%)
OKLCHoklch(45.8% 0.162 320)

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 #7D2F8E 7.86:1 AAA Lc -91.3 Preferred for body text
Black text on #7D2F8E 2.66:1 Fails Lc 17.4 Dividers and decoration only
#7D2F8E text on white 7.86:1 AAA Lc 86.6 Fine for body text
#7D2F8E text on black 2.66:1 Fails Lc -15.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 800.

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F6

    oklch(93.5% 0.028 318.7)

  3. Step 200

    200

    #E9CEEF

    oklch(88.4% 0.053 320.1)

  4. Step 300

    300

    #DCADE7

    oklch(80.9% 0.095 319.8)

  5. Step 400

    400

    #CA7FDB

    oklch(70.8% 0.152 320)

  6. Step 500

    500

    #BB59D1

    oklch(63.1% 0.195 320)

  7. Step 600

    600

    #A639BE

    oklch(55.6% 0.212 319.8)

  8. Step 700

    700

    #8E2AA3

    oklch(49% 0.195 320)

  9. Step 800

    800 (this color)

    #7D2F8E

    oklch(45.8% 0.162 320)

  10. Step 900

    900

    #5E256A

    oklch(37.8% 0.126 320.3)

  11. Step 950

    950

    #37173E

    oklch(27% 0.079 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#7D2F8E 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)#114C910.161
Deuteranopia (no green cones)#37548C0.138
Tritanopia (no blue cones)#7E3F5A0.101
Achromatopsia (no color)#5252520.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D2F8E

    #7D2F8E

    oklch(45.8% 0.162 320)

  • #1C6900

    #1C6900

    oklch(45.6% 0.147 140)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D2F8E

    #7D2F8E

    oklch(45.8% 0.162 320)

  • #5A3FA9

    #5A3FA9

    oklch(45.7% 0.162 290.2)

  • #942164

    #942164

    oklch(45.8% 0.163 350)

Open the analogous palette in the generator

Split complementary

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

  • #7D2F8E

    #7D2F8E

    oklch(45.8% 0.162 320)

  • #5B5C00

    #5B5C00

    oklch(45.9% 0.1 110.5)

  • #006750

    #006750

    oklch(45.7% 0.09 170.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D2F8E

    #7D2F8E

    oklch(45.8% 0.162 320)

  • #735000

    #735000

    oklch(45.7% 0.095 79.5)

  • #006468

    #006468

    oklch(45.7% 0.078 199.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D2F8E

    #7D2F8E

    oklch(45.8% 0.162 320)

  • #8A3E00

    #8A3E00

    oklch(45.7% 0.121 50)

  • #1C6900

    #1C6900

    oklch(45.6% 0.147 140)

  • #006080

    #006080

    oklch(45.8% 0.091 229.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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