#9178AC

Closest named color: Dark Lilac (#9C6DA5). oklch(61.5% 0.082 306.1), rgb(145, 120, 172).

Aa

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

About this color

#9178AC is a medium-dark, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.082 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.031 away. Black text reads best on it, at 5.48:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest nameDark Lilac (#9C6DA5)
Black text5.48:1
White text3.82:1

Values

HEX#9178AC
RGBrgb(145, 120, 172)
HSLhsl(269, 24%, 57%)
OKLCHoklch(61.5% 0.082 306.1)

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 #9178AC 3.82:1 AA large text Lc -71.2 Content text, not long reading
Black text on #9178AC 5.48:1 AA Lc 38.3 Non-text elements, placeholder text
#9178AC text on white 3.82:1 AA large text Lc 65.7 Content text, not long reading
#9178AC text on black 5.48:1 AA Lc -35.9 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

    #F6F4F8

    oklch(97% 0.006 308.4)

  2. Step 100

    100

    #ECE8F0

    oklch(93.6% 0.011 308.3)

  3. Step 200

    200

    #DDD6E5

    oklch(88.6% 0.022 306.8)

  4. Step 300

    300

    #C7BAD6

    oklch(80.8% 0.041 306.4)

  5. Step 400

    400

    #AA97C1

    oklch(70.7% 0.064 305.4)

  6. Step 500

    500 (this color)

    #9178AC

    oklch(61.5% 0.082 306.1)

  7. Step 600

    600

    #80659D

    oklch(55.5% 0.09 305.8)

  8. Step 700

    700

    #6C5486

    oklch(49.1% 0.083 305.6)

  9. Step 800

    800

    #58456D

    oklch(42.7% 0.068 305.5)

  10. Step 900

    900

    #493A58

    oklch(37.7% 0.053 306.9)

  11. Step 950

    950

    #2A2234

    oklch(26.9% 0.035 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#9178AC 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)#6E81AE0.054
Deuteranopia (no green cones)#7383AA0.051
Tritanopia (no blue cones)#8D7F8B0.060
Achromatopsia (no color)#8282820.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #9178AC

    #9178AC

    oklch(61.5% 0.082 306.1)

  • #788E57

    #788E57

    oklch(61.5% 0.082 126.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9178AC

    #9178AC

    oklch(61.5% 0.082 306.1)

  • #7781B6

    #7781B6

    oklch(61.6% 0.081 275.5)

  • #A47298

    #A47298

    oklch(61.6% 0.082 335.5)

Open the analogous palette in the generator

Split complementary

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

  • #9178AC

    #9178AC

    oklch(61.5% 0.082 306.1)

  • #938549

    #938549

    oklch(61.6% 0.082 96.6)

  • #5A9470

    #5A9470

    oklch(61.6% 0.082 155.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9178AC

    #9178AC

    oklch(61.5% 0.082 306.1)

  • #A67B4E

    #A67B4E

    oklch(61.5% 0.081 66.6)

  • #42958C

    #42958C

    oklch(61.6% 0.082 185.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9178AC

    #9178AC

    oklch(61.5% 0.082 306.1)

  • #B07362

    #B07362

    oklch(61.5% 0.082 36.3)

  • #788E57

    #788E57

    oklch(61.5% 0.082 126.4)

  • #4291A4

    #4291A4

    oklch(61.5% 0.082 215.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9178AC 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.