#8A7BC4

Closest named color: Deep Lilac (#966EBD). oklch(62.6% 0.109 292.4), rgb(138, 123, 196).

Aa

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

About this color

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

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

Values

HEX#8A7BC4
RGBrgb(138, 123, 196)
HSLhsl(252, 38%, 63%)
OKLCHoklch(62.6% 0.109 292.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 #8A7BC4 3.67:1 AA large text Lc -69.8 Content text, not long reading
Black text on #8A7BC4 5.71:1 AA Lc 39.8 Non-text elements, placeholder text
#8A7BC4 text on white 3.67:1 AA large text Lc 64.3 Content text, not long reading
#8A7BC4 text on black 5.71:1 AA Lc -37.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #D9D6EC

    oklch(88.5% 0.03 292)

  4. Step 300

    300

    #C1BBE1

    oklch(80.9% 0.053 292.4)

  5. Step 400

    400

    #A297D2

    oklch(70.7% 0.086 292.6)

  6. Step 500

    500 (this color)

    #8A7BC4

    oklch(62.6% 0.109 292.4)

  7. Step 600

    600

    #7665B2

    oklch(55.7% 0.117 292.3)

  8. Step 700

    700

    #635399

    oklch(49.1% 0.11 292.4)

  9. Step 800

    800

    #51447C

    oklch(42.6% 0.091 292.8)

  10. Step 900

    900

    #433A64

    oklch(37.8% 0.071 292.5)

  11. Step 950

    950

    #27223B

    oklch(27% 0.046 292.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A7BC4 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)#6686C70.053
Deuteranopia (no green cones)#6884C20.051
Tritanopia (no blue cones)#7D88960.091
Achromatopsia (no color)#8585850.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7BC4

    #8A7BC4

    oklch(62.6% 0.109 292.4)

  • #898E39

    #898E39

    oklch(62.5% 0.109 112.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7BC4

    #8A7BC4

    oklch(62.6% 0.109 292.4)

  • #6487CA

    #6487CA

    oklch(62.6% 0.109 262.6)

  • #A771AF

    #A771AF

    oklch(62.7% 0.109 322.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A7BC4

    #8A7BC4

    oklch(62.6% 0.109 292.4)

  • #A8812F

    #A8812F

    oklch(62.6% 0.109 82.6)

  • #5F995B

    #5F995B

    oklch(62.7% 0.109 142.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7BC4

    #8A7BC4

    oklch(62.6% 0.109 292.4)

  • #BB7446

    #BB7446

    oklch(62.6% 0.109 52.4)

  • #2A9D81

    #2A9D81

    oklch(62.6% 0.109 172.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7BC4

    #8A7BC4

    oklch(62.6% 0.109 292.4)

  • #C16C69

    #C16C69

    oklch(62.6% 0.109 22.8)

  • #898E39

    #898E39

    oklch(62.5% 0.109 112.3)

  • #009AA4

    #009AA4

    oklch(62.5% 0.106 202.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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