#8A74C8

Closest named color: Deep Lilac (#966EBD). oklch(61.5% 0.126 294.5), rgb(138, 116, 200).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.41:1
White text3.87:1

Values

HEX#8A74C8
RGBrgb(138, 116, 200)
HSLhsl(256, 43%, 62%)
OKLCHoklch(61.5% 0.126 294.5)

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 #8A74C8 3.87:1 AA large text Lc -71.6 Content text, not long reading
Black text on #8A74C8 5.41:1 AA Lc 37.9 Non-text elements, placeholder text
#8A74C8 text on white 3.87:1 AA large text Lc 66.1 Content text, not long reading
#8A74C8 text on black 5.41:1 AA Lc -35.5 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EE

    oklch(88.5% 0.034 294.9)

  4. Step 300

    300

    #C2B9E5

    oklch(80.8% 0.062 294.3)

  5. Step 400

    400

    #A494D8

    oklch(70.6% 0.099 294.5)

  6. Step 500

    500 (this color)

    #8A74C8

    oklch(61.5% 0.126 294.5)

  7. Step 600

    600

    #7960BA

    oklch(55.5% 0.137 294.3)

  8. Step 700

    700

    #664FA0

    oklch(49% 0.126 294.3)

  9. Step 800

    800

    #534182

    oklch(42.6% 0.105 294.2)

  10. Step 900

    900

    #453868

    oklch(37.8% 0.081 294.7)

  11. Step 950

    950

    #28213D

    oklch(27% 0.052 294.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A74C8 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)#5B82CB0.069
Deuteranopia (no green cones)#5E80C60.065
Tritanopia (no blue cones)#7C83940.102
Achromatopsia (no color)#8181810.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A74C8

    #8A74C8

    oklch(61.5% 0.126 294.5)

  • #848D23

    #848D23

    oklch(61.6% 0.126 114.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A74C8

    #8A74C8

    oklch(61.5% 0.126 294.5)

  • #5E82D0

    #5E82D0

    oklch(61.5% 0.126 264.3)

  • #AA69AF

    #AA69AF

    oklch(61.6% 0.125 324.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A74C8

    #8A74C8

    oklch(61.5% 0.126 294.5)

  • #A87D03

    #A87D03

    oklch(61.5% 0.126 84.1)

  • #509852

    #509852

    oklch(61.5% 0.126 144.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A74C8

    #8A74C8

    oklch(61.5% 0.126 294.5)

  • #BE6D31

    #BE6D31

    oklch(61.5% 0.126 54)

  • #009B80

    #009B80

    oklch(61.5% 0.117 174.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A74C8

    #8A74C8

    oklch(61.5% 0.126 294.5)

  • #C5635E

    #C5635E

    oklch(61.5% 0.126 24.4)

  • #848D23

    #848D23

    oklch(61.6% 0.126 114.4)

  • #0096A2

    #0096A2

    oklch(61.4% 0.105 204.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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