#8A2082

Closest named color: Dark Magenta (#8B008B). oklch(45.5% 0.177 331.4), rgb(138, 32, 130).

Aa

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

About this color

#8A2082 is a medium-dark, vivid purple. In OKLCH its lightness is 46%, its chroma 0.177 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Magenta (#8B008B), ΔE 0.031 away. White text reads best on it, at 8.04:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromavivid (0.177)
Temperaturein between
Nearest nameDark Magenta (#8B008B)
Black text2.60:1
White text8.04:1

Values

HEX#8A2082
RGBrgb(138, 32, 130)
HSLhsl(305, 62%, 33%)
OKLCHoklch(45.5% 0.177 331.4)

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 #8A2082 8.04:1 AAA Lc -91.4 Preferred for body text
Black text on #8A2082 2.60:1 Fails Lc 17.3 Dividers and decoration only
#8A2082 text on white 8.04:1 AAA Lc 86.7 Fine for body text
#8A2082 text on black 2.60:1 Fails Lc -15.4 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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F3

    oklch(93.6% 0.029 330.9)

  3. Step 200

    200

    #F0CCEB

    oklch(88.5% 0.057 330.7)

  4. Step 300

    300

    #E8A8DF

    oklch(80.9% 0.103 331.4)

  5. Step 400

    400

    #DA76CF

    oklch(70.7% 0.165 331.3)

  6. Step 500

    500

    #CD4BC2

    oklch(63% 0.212 331.3)

  7. Step 600

    600

    #B922AE

    oklch(55.6% 0.23 331.6)

  8. Step 700

    700

    #9F0F96

    oklch(49.2% 0.214 331.4)

  9. Step 800

    800 (this color)

    #8A2082

    oklch(45.5% 0.177 331.4)

  10. Step 900

    900

    #681B62

    oklch(37.7% 0.139 331.3)

  11. Step 950

    950

    #3D1239

    oklch(26.9% 0.087 331.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A2082 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)#1647850.193
Deuteranopia (no green cones)#42557F0.162
Tritanopia (no blue cones)#902D4F0.095
Achromatopsia (no color)#5050500.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A2082

    #8A2082

    oklch(45.5% 0.177 331.4)

  • #006931

    #006931

    oklch(45.6% 0.122 151.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A2082

    #8A2082

    oklch(45.5% 0.177 331.4)

  • #6A33A7

    #6A33A7

    oklch(45.6% 0.177 301.3)

  • #9D0C50

    #9D0C50

    oklch(45.4% 0.177 1.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A2082

    #8A2082

    oklch(45.5% 0.177 331.4)

  • #4E5F00

    #4E5F00

    oklch(45.5% 0.109 121)

  • #00655A

    #00655A

    oklch(45.5% 0.081 182.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A2082

    #8A2082

    oklch(45.5% 0.177 331.4)

  • #6A5400

    #6A5400

    oklch(45.5% 0.093 91.2)

  • #006270

    #006270

    oklch(45.5% 0.079 211.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A2082

    #8A2082

    oklch(45.5% 0.177 331.4)

  • #7F4600

    #7F4600

    oklch(45.4% 0.105 61.2)

  • #006931

    #006931

    oklch(45.6% 0.122 151.3)

  • #005C8C

    #005C8C

    oklch(45.4% 0.107 241.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8A2082 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.