#982EA1

Closest named color: Warm Purple (#952E8F). oklch(50.7% 0.194 324.6), rgb(152, 46, 161).

Aa

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

About this color

#982EA1 is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.194 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.029 away. White text reads best on it, at 6.48:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.194)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.24:1
White text6.48:1

Values

HEX#982EA1
RGBrgb(152, 46, 161)
HSLhsl(295, 56%, 41%)
OKLCHoklch(50.7% 0.194 324.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 #982EA1 6.48:1 AA Lc -86.3 Fine for body text
Black text on #982EA1 3.24:1 AA large text Lc 22.9 Dividers and decoration only
#982EA1 text on white 6.48:1 AA Lc 81.1 Fine for body text
#982EA1 text on black 3.24:1 AA large text Lc -20.7 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #EBCEED

    oklch(88.5% 0.052 324)

  4. Step 300

    300

    #E0ACE3

    oklch(80.9% 0.095 324.6)

  5. Step 400

    400

    #CE7DD4

    oklch(70.6% 0.15 324.5)

  6. Step 500

    500

    #C058C8

    oklch(63.1% 0.191 324.7)

  7. Step 600

    600

    #AB37B5

    oklch(55.5% 0.209 324.5)

  8. Step 700

    700 (this color)

    #982EA1

    oklch(50.7% 0.194 324.6)

  9. Step 800

    800

    #77247E

    oklch(42.7% 0.159 324.6)

  10. Step 900

    900

    #602466

    oklch(37.7% 0.125 324)

  11. Step 950

    950

    #39163B

    oklch(27% 0.079 325.4)

Export this scale for Tailwind in the Tailwind colors tool

#982EA1 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)#0C56A40.203
Deuteranopia (no green cones)#44629E0.170
Tritanopia (no blue cones)#9B41640.113
Achromatopsia (no color)#5E5E5E0.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #982EA1

    #982EA1

    oklch(50.7% 0.194 324.6)

  • #007B1B

    #007B1B

    oklch(50.6% 0.161 144.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #982EA1

    #982EA1

    oklch(50.7% 0.194 324.6)

  • #7042C6

    #7042C6

    oklch(50.6% 0.194 294.4)

  • #B11A6C

    #B11A6C

    oklch(50.7% 0.193 354.4)

Open the analogous palette in the generator

Split complementary

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

  • #982EA1

    #982EA1

    oklch(50.7% 0.194 324.6)

  • #646C00

    #646C00

    oklch(50.7% 0.115 114.8)

  • #007762

    #007762

    oklch(50.8% 0.096 174.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #982EA1

    #982EA1

    oklch(50.7% 0.194 324.6)

  • #815F00

    #815F00

    oklch(50.7% 0.104 84.1)

  • #00737C

    #00737C

    oklch(50.7% 0.086 204.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #982EA1

    #982EA1

    oklch(50.7% 0.194 324.6)

  • #9B4D00

    #9B4D00

    oklch(50.8% 0.127 54.2)

  • #007B1B

    #007B1B

    oklch(50.6% 0.161 144.6)

  • #006E99

    #006E99

    oklch(50.8% 0.107 234.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #982EA1.

Similar named colors

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

Use #982EA1 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.