#8A7CD1

Closest named color: Medium Purple (#9370DB). oklch(63.5% 0.126 289.9), rgb(138, 124, 209).

Aa

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

About this color

#8A7CD1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.126 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.037 away. Black text reads best on it, at 5.88:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.126)
Temperaturecool
Nearest nameMedium Purple (#9370DB)
Black text5.88:1
White text3.56:1

Values

HEX#8A7CD1
RGBrgb(138, 124, 209)
HSLhsl(250, 48%, 65%)
OKLCHoklch(63.5% 0.126 289.9)

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 #8A7CD1 3.56:1 AA large text Lc -68.7 Content text, not long reading
Black text on #8A7CD1 5.88:1 AA Lc 40.9 Non-text elements, placeholder text
#8A7CD1 text on white 3.56:1 AA large text Lc 63.2 Content text, not long reading
#8A7CD1 text on black 5.88:1 AA Lc -38.5 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D8D6EF

    oklch(88.5% 0.034 289.4)

  4. Step 300

    300

    #BFBBE6

    oklch(81% 0.06 289.2)

  5. Step 400

    400

    #9F96DA

    oklch(70.7% 0.099 289.7)

  6. Step 500

    500 (this color)

    #8A7CD1

    oklch(63.5% 0.126 289.9)

  7. Step 600

    600

    #7362BD

    oklch(55.5% 0.137 289.8)

  8. Step 700

    700

    #6151A3

    oklch(49.1% 0.127 289.9)

  9. Step 800

    800

    #4F4384

    oklch(42.8% 0.105 289.7)

  10. Step 900

    900

    #41396A

    oklch(37.7% 0.082 289.4)

  11. Step 950

    950

    #26223E

    oklch(27.1% 0.051 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A7CD1 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)#6189D40.059
Deuteranopia (no green cones)#6286CF0.057
Tritanopia (no blue cones)#798C9C0.106
Achromatopsia (no color)#8787870.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7CD1

    #8A7CD1

    oklch(63.5% 0.126 289.9)

  • #909124

    #909124

    oklch(63.6% 0.126 110)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7CD1

    #8A7CD1

    oklch(63.5% 0.126 289.9)

  • #5C8AD6

    #5C8AD6

    oklch(63.4% 0.126 260)

  • #AC70BA

    #AC70BA

    oklch(63.5% 0.126 319.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A7CD1

    #8A7CD1

    oklch(63.5% 0.126 289.9)

  • #B28117

    #B28117

    oklch(63.6% 0.125 80.2)

  • #5F9D51

    #5F9D51

    oklch(63.5% 0.126 139.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7CD1

    #8A7CD1

    oklch(63.5% 0.126 289.9)

  • #C6713E

    #C6713E

    oklch(63.4% 0.126 49.8)

  • #02A27F

    #02A27F

    oklch(63.4% 0.125 170.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7CD1

    #8A7CD1

    oklch(63.5% 0.126 289.9)

  • #CB686B

    #CB686B

    oklch(63.4% 0.126 19.4)

  • #909124

    #909124

    oklch(63.6% 0.126 110)

  • #009EA4

    #009EA4

    oklch(63.5% 0.108 199.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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