#8A7DC5

Closest named color: Deep Lilac (#966EBD). oklch(63.1% 0.107 291.3), rgb(138, 125, 197).

Aa

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

About this color

#8A7DC5 is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.107 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.107)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.82:1
White text3.60:1

Values

HEX#8A7DC5
RGBrgb(138, 125, 197)
HSLhsl(251, 38%, 63%)
OKLCHoklch(63.1% 0.107 291.3)

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 #8A7DC5 3.60:1 AA large text Lc -69.1 Content text, not long reading
Black text on #8A7DC5 5.82:1 AA Lc 40.5 Non-text elements, placeholder text
#8A7DC5 text on white 3.60:1 AA large text Lc 63.6 Content text, not long reading
#8A7DC5 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

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #D9D6EB

    oklch(88.5% 0.029 292.4)

  4. Step 300

    300

    #C0BBE1

    oklch(80.9% 0.053 291.2)

  5. Step 400

    400

    #A198D1

    oklch(70.8% 0.083 291.4)

  6. Step 500

    500 (this color)

    #8A7DC5

    oklch(63.1% 0.107 291.3)

  7. Step 600

    600

    #7565B2

    oklch(55.6% 0.117 291.7)

  8. Step 700

    700

    #625499

    oklch(49.2% 0.108 291.2)

  9. Step 800

    800

    #50457C

    oklch(42.7% 0.09 291.3)

  10. Step 900

    900

    #423A64

    oklch(37.7% 0.071 291.4)

  11. Step 950

    950

    #27223A

    oklch(26.9% 0.044 292.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A7DC5 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)#6988C80.050
Deuteranopia (no green cones)#6985C30.048
Tritanopia (no blue cones)#7D8A980.089
Achromatopsia (no color)#8787870.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7DC5

    #8A7DC5

    oklch(63.1% 0.107 291.3)

  • #8C8F3C

    #8C8F3C

    oklch(63% 0.106 111)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7DC5

    #8A7DC5

    oklch(63.1% 0.107 291.3)

  • #6489CA

    #6489CA

    oklch(63% 0.107 261.2)

  • #A773B0

    #A773B0

    oklch(63% 0.106 321.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A7DC5

    #8A7DC5

    oklch(63.1% 0.107 291.3)

  • #AA8233

    #AA8233

    oklch(63% 0.107 81.4)

  • #63995B

    #63995B

    oklch(62.9% 0.107 141.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7DC5

    #8A7DC5

    oklch(63.1% 0.107 291.3)

  • #BC754A

    #BC754A

    oklch(62.9% 0.107 51)

  • #319E81

    #319E81

    oklch(63% 0.107 171.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7DC5

    #8A7DC5

    oklch(63.1% 0.107 291.3)

  • #C26E6D

    #C26E6D

    oklch(63.2% 0.107 21.2)

  • #8C8F3C

    #8C8F3C

    oklch(63% 0.106 111)

  • #019CA4

    #019CA4

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

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

Similar named colors

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

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