#8A74B3

Closest named color: Deep Lilac (#966EBD). oklch(60.4% 0.096 299.6), rgb(138, 116, 179).

Aa

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

About this color

#8A74B3 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 60%, its chroma 0.096 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.030 away. Black text reads best on it, at 5.22:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.22:1
White text4.01:1

Values

HEX#8A74B3
RGBrgb(138, 116, 179)
HSLhsl(261, 29%, 58%)
OKLCHoklch(60.4% 0.096 299.6)

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 #8A74B3 4.01:1 AA large text Lc -72.9 Content text, not long reading
Black text on #8A74B3 5.22:1 AA Lc 36.7 Non-text elements, placeholder text
#8A74B3 text on white 4.01:1 AA large text Lc 67.4 Content text, not long reading
#8A74B3 text on black 5.22:1 AA Lc -34.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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DBD6E8

    oklch(88.5% 0.025 298.6)

  4. Step 300

    300

    #C5BADB

    oklch(80.9% 0.047 300.5)

  5. Step 400

    400

    #A796C9

    oklch(70.6% 0.076 299.7)

  6. Step 500

    500 (this color)

    #8A74B3

    oklch(60.4% 0.096 299.6)

  7. Step 600

    600

    #7D64A8

    oklch(55.6% 0.106 299.9)

  8. Step 700

    700

    #695390

    oklch(49.1% 0.098 299.4)

  9. Step 800

    800

    #564475

    oklch(42.7% 0.081 299.9)

  10. Step 900

    900

    #463A5E

    oklch(37.7% 0.062 298.7)

  11. Step 950

    950

    #292237

    oklch(27% 0.039 299.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A74B3 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)#657FB50.057
Deuteranopia (no green cones)#697EB10.053
Tritanopia (no blue cones)#837E8B0.076
Achromatopsia (no color)#7F7F7F0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A74B3

    #8A74B3

    oklch(60.4% 0.096 299.6)

  • #7B8A44

    #7B8A44

    oklch(60.5% 0.097 119.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A74B3

    #8A74B3

    oklch(60.4% 0.096 299.6)

  • #6A7EBC

    #6A7EBC

    oklch(60.3% 0.098 269.7)

  • #A26C9D

    #A26C9D

    oklch(60.5% 0.096 329.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A74B3

    #8A74B3

    oklch(60.4% 0.096 299.6)

  • #987F36

    #987F36

    oklch(60.5% 0.097 90.3)

  • #559262

    #559262

    oklch(60.5% 0.097 149.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A74B3

    #8A74B3

    oklch(60.4% 0.096 299.6)

  • #AC7343

    #AC7343

    oklch(60.5% 0.096 59.6)

  • #2D9483

    #2D9483

    oklch(60.4% 0.096 179.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A74B3

    #8A74B3

    oklch(60.4% 0.096 299.6)

  • #B46A5F

    #B46A5F

    oklch(60.4% 0.097 29.2)

  • #7B8A44

    #7B8A44

    oklch(60.5% 0.097 119.4)

  • #2191A1

    #2191A1

    oklch(60.5% 0.097 209.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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