#8A2782

Closest named color: Warm Purple (#952E8F). oklch(46.1% 0.169 331.4), rgb(138, 39, 130).

Aa

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

About this color

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

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

Values

HEX#8A2782
RGBrgb(138, 39, 130)
HSLhsl(305, 56%, 35%)
OKLCHoklch(46.1% 0.169 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 #8A2782 7.79:1 AAA Lc -90.9 Preferred for body text
Black text on #8A2782 2.69:1 Fails Lc 17.9 Dividers and decoration only
#8A2782 text on white 7.79:1 AAA Lc 86.1 Fine for body text
#8A2782 text on black 2.69:1 Fails Lc -16.0 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #ECCFE7

    oklch(88.6% 0.045 331.7)

  4. Step 300

    300

    #E0AED9

    oklch(80.9% 0.081 331.1)

  5. Step 400

    400

    #CF81C5

    oklch(70.7% 0.13 331.6)

  6. Step 500

    500

    #C15EB7

    oklch(63.2% 0.167 331.3)

  7. Step 600

    600

    #AC40A2

    oklch(55.5% 0.182 331.5)

  8. Step 700

    700 (this color)

    #8A2782

    oklch(46.1% 0.169 331.4)

  9. Step 800

    800

    #782A71

    oklch(42.7% 0.14 331.4)

  10. Step 900

    900

    #61275B

    oklch(37.6% 0.11 331.7)

  11. Step 950

    950

    #391836

    oklch(27% 0.069 330.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A2782 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)#2049850.181
Deuteranopia (no green cones)#4557800.154
Tritanopia (no blue cones)#9032510.091
Achromatopsia (no color)#5252520.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A2782

    #8A2782

    oklch(46.1% 0.169 331.4)

  • #006B32

    #006B32

    oklch(46.2% 0.124 151.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A2782

    #8A2782

    oklch(46.1% 0.169 331.4)

  • #6B38A5

    #6B38A5

    oklch(46.2% 0.168 301.6)

  • #9D1952

    #9D1952

    oklch(46.1% 0.17 1.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A2782

    #8A2782

    oklch(46.1% 0.169 331.4)

  • #4F6100

    #4F6100

    oklch(46.1% 0.111 121.4)

  • #00675B

    #00675B

    oklch(46.1% 0.083 181.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A2782

    #8A2782

    oklch(46.1% 0.169 331.4)

  • #6C5600

    #6C5600

    oklch(46.2% 0.095 91.5)

  • #006472

    #006472

    oklch(46.2% 0.08 211.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A2782

    #8A2782

    oklch(46.1% 0.169 331.4)

  • #824800

    #824800

    oklch(46.2% 0.107 61.4)

  • #006B32

    #006B32

    oklch(46.2% 0.124 151.2)

  • #005E8F

    #005E8F

    oklch(46.1% 0.109 241.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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