#8A2EA6

Closest named color: Warm Purple (#952E8F). oklch(49.1% 0.192 317.1), rgb(138, 46, 166).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (49%)
Chromavivid (0.192)
Temperaturein between
Nearest nameWarm Purple (#952E8F)
Black text3.02:1
White text6.94:1

Values

HEX#8A2EA6
RGBrgb(138, 46, 166)
HSLhsl(286, 57%, 42%)
OKLCHoklch(49.1% 0.192 317.1)

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 #8A2EA6 6.94:1 AA Lc -88.1 Fine for body text
Black text on #8A2EA6 3.02:1 AA large text Lc 20.9 Dividers and decoration only
#8A2EA6 text on white 6.94:1 AA Lc 83.1 Fine for body text
#8A2EA6 text on black 3.02:1 AA large text Lc -18.8 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E7CFF0

    oklch(88.4% 0.051 316.8)

  4. Step 300

    300

    #D9AEE9

    oklch(80.9% 0.094 316.7)

  5. Step 400

    400

    #C681DD

    oklch(70.8% 0.148 317.3)

  6. Step 500

    500

    #B65DD3

    oklch(63.1% 0.189 317.2)

  7. Step 600

    600

    #A23EC1

    oklch(55.7% 0.207 317.1)

  8. Step 700

    700 (this color)

    #8A2EA6

    oklch(49.1% 0.192 317.1)

  9. Step 800

    800

    #702887

    oklch(42.7% 0.159 316.8)

  10. Step 900

    900

    #5B276C

    oklch(37.8% 0.123 317)

  11. Step 950

    950

    #35183F

    oklch(27% 0.077 316.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A2EA6 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)#0054A90.183
Deuteranopia (no green cones)#305CA30.164
Tritanopia (no blue cones)#8946670.122
Achromatopsia (no color)#5A5A5A0.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A2EA6

    #8A2EA6

    oklch(49.1% 0.192 317.1)

  • #307200

    #307200

    oklch(48.9% 0.149 137.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A2EA6

    #8A2EA6

    oklch(49.1% 0.192 317.1)

  • #5F43C5

    #5F43C5

    oklch(49.1% 0.192 286.9)

  • #A61875

    #A61875

    oklch(49% 0.192 347)

Open the analogous palette in the generator

Split complementary

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

  • #8A2EA6

    #8A2EA6

    oklch(49.1% 0.192 317.1)

  • #686400

    #686400

    oklch(49.1% 0.105 107)

  • #007254

    #007254

    oklch(49% 0.101 166.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A2EA6

    #8A2EA6

    oklch(49.1% 0.192 317.1)

  • #815700

    #815700

    oklch(49% 0.103 76.4)

  • #006F71

    #006F71

    oklch(49.1% 0.084 197)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A2EA6

    #8A2EA6

    oklch(49.1% 0.192 317.1)

  • #9B4200

    #9B4200

    oklch(49% 0.135 47.3)

  • #307200

    #307200

    oklch(48.9% 0.149 137.2)

  • #006A8A

    #006A8A

    oklch(48.9% 0.095 227.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8A2EA6.

Similar named colors

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

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