#8A7DC6

Closest named color: Deep Lilac (#966EBD). oklch(63.1% 0.109 291.1), rgb(138, 125, 198).

Aa

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

About this color

#8A7DC6 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.109 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.040 away. Black text reads best on it, at 5.82:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.82:1
White text3.60:1

Values

HEX#8A7DC6
RGBrgb(138, 125, 198)
HSLhsl(251, 39%, 63%)
OKLCHoklch(63.1% 0.109 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 #8A7DC6 3.60:1 AA large text Lc -69.0 Content text, not long reading
Black text on #8A7DC6 5.82:1 AA Lc 40.5 Non-text elements, placeholder text
#8A7DC6 text on white 3.60:1 AA large text Lc 63.5 Content text, not long reading
#8A7DC6 text on black 5.82:1 AA Lc -38.1 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D9D6EC

    oklch(88.5% 0.03 292)

  4. Step 300

    300

    #C0BBE1

    oklch(80.9% 0.053 291.2)

  5. Step 400

    400

    #A097D2

    oklch(70.6% 0.086 291)

  6. Step 500

    500 (this color)

    #8A7DC6

    oklch(63.1% 0.109 291.1)

  7. Step 600

    600

    #7465B3

    oklch(55.6% 0.119 290.9)

  8. Step 700

    700

    #62549A

    oklch(49.2% 0.11 291)

  9. Step 800

    800

    #50457D

    oklch(42.8% 0.091 291.1)

  10. Step 900

    900

    #423A64

    oklch(37.7% 0.071 291.4)

  11. Step 950

    950

    #27223B

    oklch(27% 0.046 292.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A7DC6 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)#6888C90.051
Deuteranopia (no green cones)#6985C40.048
Tritanopia (no blue cones)#7C8A980.091
Achromatopsia (no color)#8787870.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7DC6

    #8A7DC6

    oklch(63.1% 0.109 291.1)

  • #8C8F3A

    #8C8F3A

    oklch(63% 0.108 111)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7DC6

    #8A7DC6

    oklch(63.1% 0.109 291.1)

  • #6489CB

    #6489CB

    oklch(63.1% 0.108 261.4)

  • #A773B1

    #A773B1

    oklch(63.1% 0.108 320.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A7DC6

    #8A7DC6

    oklch(63.1% 0.109 291.1)

  • #AB8232

    #AB8232

    oklch(63.2% 0.108 81)

  • #639A5B

    #639A5B

    oklch(63.2% 0.108 141.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7DC6

    #8A7DC6

    oklch(63.1% 0.109 291.1)

  • #BD7549

    #BD7549

    oklch(63.1% 0.108 51.1)

  • #2F9E81

    #2F9E81

    oklch(63% 0.108 171.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7DC6

    #8A7DC6

    oklch(63.1% 0.109 291.1)

  • #C26D6D

    #C26D6D

    oklch(63% 0.108 20.6)

  • #8C8F3A

    #8C8F3A

    oklch(63% 0.108 111)

  • #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 #8A7DC6, closest first.

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

Similar named colors

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

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