#8A71D3

Closest named color: Medium Purple (#9370DB). oklch(61.6% 0.145 293.4), rgb(138, 113, 211).

Aa

Black text reads best on this color (5.38:1).

About this color

#8A71D3 is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.145 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.019 away. Black text reads best on it, at 5.38:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.145)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.38:1
White text3.90:1

Values

HEX#8A71D3
RGBrgb(138, 113, 211)
HSLhsl(255, 53%, 64%)
OKLCHoklch(61.6% 0.145 293.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 #8A71D3 3.90:1 AA large text Lc -71.8 Content text, not long reading
Black text on #8A71D3 5.38:1 AA Lc 37.8 Non-text elements, placeholder text
#8A71D3 text on white 3.90:1 AA large text Lc 66.3 Content text, not long reading
#8A71D3 text on black 5.38:1 AA Lc -35.4 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F7

    oklch(93.7% 0.02 292.1)

  3. Step 200

    200

    #DAD5F1

    oklch(88.6% 0.038 293.8)

  4. Step 300

    300

    #C2B9EB

    oklch(81% 0.07 293)

  5. Step 400

    400

    #A492E1

    oklch(70.6% 0.115 293.7)

  6. Step 500

    500 (this color)

    #8A71D3

    oklch(61.6% 0.145 293.4)

  7. Step 600

    600

    #795CC5

    oklch(55.5% 0.157 293.3)

  8. Step 700

    700

    #664BAB

    oklch(49% 0.148 293.1)

  9. Step 800

    800

    #533E8A

    oklch(42.6% 0.122 293.3)

  10. Step 900

    900

    #45366E

    oklch(37.8% 0.094 293.8)

  11. Step 950

    950

    #282041

    oklch(27% 0.06 293.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A71D3 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)#4F82D70.082
Deuteranopia (no green cones)#537FD10.078
Tritanopia (no blue cones)#7984980.118
Achromatopsia (no color)#8181810.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A71D3

    #8A71D3

    oklch(61.6% 0.145 293.4)

  • #858D00

    #858D00

    oklch(61.6% 0.138 113.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A71D3

    #8A71D3

    oklch(61.6% 0.145 293.4)

  • #5681DB

    #5681DB

    oklch(61.5% 0.145 263.5)

  • #AE63B6

    #AE63B6

    oklch(61.5% 0.146 323.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A71D3

    #8A71D3

    oklch(61.6% 0.145 293.4)

  • #A97D00

    #A97D00

    oklch(61.7% 0.127 83.7)

  • #479A46

    #479A46

    oklch(61.5% 0.145 143.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A71D3

    #8A71D3

    oklch(61.6% 0.145 293.4)

  • #C6681B

    #C6681B

    oklch(61.6% 0.145 53.5)

  • #009B7F

    #009B7F

    oklch(61.5% 0.117 173.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A71D3

    #8A71D3

    oklch(61.6% 0.145 293.4)

  • #CE5C5A

    #CE5C5A

    oklch(61.7% 0.146 23.3)

  • #858D00

    #858D00

    oklch(61.6% 0.138 113.7)

  • #0097A1

    #0097A1

    oklch(61.6% 0.105 203.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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