#8E7CA2

Closest named color: Purpley Grey (#947E94). oklch(61.6% 0.06 306.2), rgb(142, 124, 162).

Aa

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

About this color

#8E7CA2 is a medium-dark, muted purple. In OKLCH its lightness is 62%, its chroma 0.060 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Grey (#947E94), ΔE 0.026 away. Black text reads best on it, at 5.55:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamuted (0.060)
Temperaturein between
Nearest namePurpley Grey (#947E94)
Black text5.55:1
White text3.78:1

Values

HEX#8E7CA2
RGBrgb(142, 124, 162)
HSLhsl(268, 17%, 56%)
OKLCHoklch(61.6% 0.06 306.2)

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 #8E7CA2 3.78:1 AA large text Lc -70.8 Content text, not long reading
Black text on #8E7CA2 5.55:1 AA Lc 38.7 Non-text elements, placeholder text
#8E7CA2 text on white 3.78:1 AA large text Lc 65.3 Content text, not long reading
#8E7CA2 text on black 5.55:1 AA Lc -36.3 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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #EBE8EE

    oklch(93.5% 0.009 308.4)

  3. Step 200

    200

    #DCD7E2

    oklch(88.6% 0.016 306.4)

  4. Step 300

    300

    #C5BCD0

    oklch(80.9% 0.029 306)

  5. Step 400

    400

    #A899B8

    oklch(70.6% 0.047 307)

  6. Step 500

    500 (this color)

    #8E7CA2

    oklch(61.6% 0.06 306.2)

  7. Step 600

    600

    #7D6992

    oklch(55.5% 0.066 306.6)

  8. Step 700

    700

    #69587C

    oklch(49.1% 0.06 305.9)

  9. Step 800

    800

    #564865

    oklch(42.7% 0.05 306.4)

  10. Step 900

    900

    #473C52

    oklch(37.7% 0.039 307.3)

  11. Step 950

    950

    #292330

    oklch(26.9% 0.025 305.7)

Export this scale for Tailwind in the Tailwind colors tool

#8E7CA2 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)#7583A40.039
Deuteranopia (no green cones)#7983A10.035
Tritanopia (no blue cones)#8B81890.045
Achromatopsia (no color)#8383830.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #8E7CA2

    #8E7CA2

    oklch(61.6% 0.06 306.2)

  • #7C8C65

    #7C8C65

    oklch(61.7% 0.059 126.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8E7CA2

    #8E7CA2

    oklch(61.6% 0.06 306.2)

  • #7B82A9

    #7B82A9

    oklch(61.5% 0.06 276.6)

  • #9D7893

    #9D7893

    oklch(61.7% 0.06 336.3)

Open the analogous palette in the generator

Split complementary

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

  • #8E7CA2

    #8E7CA2

    oklch(61.6% 0.06 306.2)

  • #8F855B

    #8F855B

    oklch(61.5% 0.06 96.4)

  • #679076

    #679076

    oklch(61.5% 0.06 156.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8E7CA2

    #8E7CA2

    oklch(61.6% 0.06 306.2)

  • #9E7E5E

    #9E7E5E

    oklch(61.6% 0.06 66.3)

  • #59918A

    #59918A

    oklch(61.6% 0.06 185.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8E7CA2

    #8E7CA2

    oklch(61.6% 0.06 306.2)

  • #A6796C

    #A6796C

    oklch(61.7% 0.06 36.7)

  • #7C8C65

    #7C8C65

    oklch(61.7% 0.059 126.2)

  • #5A8E9C

    #5A8E9C

    oklch(61.5% 0.059 216.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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