#7F328C

Closest named color: Warm Purple (#952E8F). oklch(46.3% 0.157 321.6), rgb(127, 50, 140).

Aa

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

About this color

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

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

Values

HEX#7F328C
RGBrgb(127, 50, 140)
HSLhsl(291, 47%, 37%)
OKLCHoklch(46.3% 0.157 321.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 #7F328C 7.67:1 AAA Lc -90.8 Preferred for body text
Black text on #7F328C 2.73:1 Fails Lc 18.0 Dividers and decoration only
#7F328C text on white 7.67:1 AAA Lc 86.0 Fine for body text
#7F328C text on black 2.73:1 Fails Lc -16.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 700.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E7D0EA

    oklch(88.4% 0.043 322.3)

  4. Step 300

    300

    #D8B1DE

    oklch(80.9% 0.075 321.8)

  5. Step 400

    400

    #C486CE

    oklch(70.7% 0.122 321.8)

  6. Step 500

    500

    #B466C1

    oklch(63.2% 0.155 321.7)

  7. Step 600

    600

    #9F4AAD

    oklch(55.6% 0.169 321.8)

  8. Step 700

    700 (this color)

    #7F328C

    oklch(46.3% 0.157 321.6)

  9. Step 800

    800

    #6E3179

    oklch(42.6% 0.131 321.3)

  10. Step 900

    900

    #5A2C61

    oklch(37.7% 0.102 322.2)

  11. Step 950

    950

    #351B39

    oklch(27.2% 0.064 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F328C 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)#1D4E8F0.156
Deuteranopia (no green cones)#3C568A0.134
Tritanopia (no blue cones)#80405A0.095
Achromatopsia (no color)#5353530.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F328C

    #7F328C

    oklch(46.3% 0.157 321.6)

  • #0E6C00

    #0E6C00

    oklch(46.2% 0.154 141.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F328C

    #7F328C

    oklch(46.3% 0.157 321.6)

  • #5D41A8

    #5D41A8

    oklch(46.3% 0.158 291.5)

  • #952662

    #952662

    oklch(46.3% 0.157 351.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F328C

    #7F328C

    oklch(46.3% 0.157 321.6)

  • #5B5E00

    #5B5E00

    oklch(46.4% 0.103 111.9)

  • #006953

    #006953

    oklch(46.4% 0.09 171.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F328C

    #7F328C

    oklch(46.3% 0.157 321.6)

  • #735200

    #735200

    oklch(46.2% 0.095 81.6)

  • #00666B

    #00666B

    oklch(46.4% 0.079 200.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F328C

    #7F328C

    oklch(46.3% 0.157 321.6)

  • #8B4100

    #8B4100

    oklch(46.3% 0.12 51.7)

  • #0E6C00

    #0E6C00

    oklch(46.2% 0.154 141.6)

  • #006184

    #006184

    oklch(46.3% 0.094 231.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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