#8A7ACE

Closest named color: Medium Purple (#9370DB). oklch(62.9% 0.124 291.1), rgb(138, 122, 206).

Aa

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

About this color

#8A7ACE is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.124 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.036 away. Black text reads best on it, at 5.75:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.75:1
White text3.64:1

Values

HEX#8A7ACE
RGBrgb(138, 122, 206)
HSLhsl(251, 46%, 64%)
OKLCHoklch(62.9% 0.124 291.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 #8A7ACE 3.64:1 AA large text Lc -69.5 Content text, not long reading
Black text on #8A7ACE 5.75:1 AA Lc 40.1 Non-text elements, placeholder text
#8A7ACE text on white 3.64:1 AA large text Lc 64.0 Content text, not long reading
#8A7ACE text on black 5.75:1 AA Lc -37.7 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

    #D9D6EE

    oklch(88.6% 0.033 291.5)

  4. Step 300

    300

    #C0BAE6

    oklch(80.8% 0.062 291.2)

  5. Step 400

    400

    #A196D9

    oklch(70.8% 0.097 291.2)

  6. Step 500

    500 (this color)

    #8A7ACE

    oklch(62.9% 0.124 291.1)

  7. Step 600

    600

    #7562BB

    oklch(55.6% 0.135 291.2)

  8. Step 700

    700

    #6251A2

    oklch(49.1% 0.126 290.7)

  9. Step 800

    800

    #504283

    oklch(42.6% 0.105 291.2)

  10. Step 900

    900

    #423969

    oklch(37.7% 0.081 290.6)

  11. Step 950

    950

    #27213D

    oklch(26.9% 0.051 292.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A7ACE 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)#6087D10.061
Deuteranopia (no green cones)#6184CC0.059
Tritanopia (no blue cones)#7A8A9A0.104
Achromatopsia (no color)#8686860.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7ACE

    #8A7ACE

    oklch(62.9% 0.124 291.1)

  • #8C8F25

    #8C8F25

    oklch(62.8% 0.124 111.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7ACE

    #8A7ACE

    oklch(62.9% 0.124 291.1)

  • #5D88D4

    #5D88D4

    oklch(63% 0.125 261.1)

  • #AB6EB6

    #AB6EB6

    oklch(62.9% 0.124 321.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A7ACE

    #8A7ACE

    oklch(62.9% 0.124 291.1)

  • #AF8015

    #AF8015

    oklch(63% 0.125 81.3)

  • #5C9B52

    #5C9B52

    oklch(62.9% 0.124 141)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7ACE

    #8A7ACE

    oklch(62.9% 0.124 291.1)

  • #C3713C

    #C3713C

    oklch(63% 0.124 51.5)

  • #00A07F

    #00A07F

    oklch(62.8% 0.123 171.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7ACE

    #8A7ACE

    oklch(62.9% 0.124 291.1)

  • #C96768

    #C96768

    oklch(62.9% 0.125 20.6)

  • #8C8F25

    #8C8F25

    oklch(62.8% 0.124 111.1)

  • #009CA4

    #009CA4

    oklch(63% 0.107 201.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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