#9178B1

Closest named color: Dark Lilac (#9C6DA5). oklch(61.8% 0.089 304), rgb(145, 120, 177).

Aa

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

About this color

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

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

Values

HEX#9178B1
RGBrgb(145, 120, 177)
HSLhsl(266, 27%, 58%)
OKLCHoklch(61.8% 0.089 304)

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 #9178B1 3.80:1 AA large text Lc -71.0 Content text, not long reading
Black text on #9178B1 5.52:1 AA Lc 38.6 Non-text elements, placeholder text
#9178B1 text on white 3.80:1 AA large text Lc 65.5 Content text, not long reading
#9178B1 text on black 5.52:1 AA Lc -36.2 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DCD6E6

    oklch(88.6% 0.023 302.9)

  4. Step 300

    300

    #C6BAD8

    oklch(80.8% 0.044 303.6)

  5. Step 400

    400

    #AA96C4

    oklch(70.7% 0.069 304.5)

  6. Step 500

    500 (this color)

    #9178B1

    oklch(61.8% 0.089 304)

  7. Step 600

    600

    #8064A1

    oklch(55.5% 0.097 304.5)

  8. Step 700

    700

    #6C538A

    oklch(49.1% 0.09 304.2)

  9. Step 800

    800

    #584470

    oklch(42.7% 0.075 304.3)

  10. Step 900

    900

    #483A5B

    oklch(37.8% 0.058 303.2)

  11. Step 950

    950

    #2A2235

    oklch(27% 0.036 303.4)

Export this scale for Tailwind in the Tailwind colors tool

#9178B1 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)#6C82B30.057
Deuteranopia (no green cones)#7183AF0.053
Tritanopia (no blue cones)#8C808D0.067
Achromatopsia (no color)#8383830.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #9178B1

    #9178B1

    oklch(61.8% 0.089 304)

  • #7A8F51

    #7A8F51

    oklch(61.8% 0.09 124.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9178B1

    #9178B1

    oklch(61.8% 0.089 304)

  • #7581BB

    #7581BB

    oklch(61.7% 0.089 274.5)

  • #A6719C

    #A6719C

    oklch(61.8% 0.089 333.5)

Open the analogous palette in the generator

Split complementary

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

  • #9178B1

    #9178B1

    oklch(61.8% 0.089 304)

  • #978543

    #978543

    oklch(61.9% 0.089 94.4)

  • #58956D

    #58956D

    oklch(61.7% 0.088 154.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9178B1

    #9178B1

    oklch(61.8% 0.089 304)

  • #AB7A4A

    #AB7A4A

    oklch(61.8% 0.089 64.3)

  • #3A978B

    #3A978B

    oklch(61.8% 0.089 183.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9178B1

    #9178B1

    oklch(61.8% 0.089 304)

  • #B47162

    #B47162

    oklch(61.7% 0.089 33.3)

  • #7A8F51

    #7A8F51

    oklch(61.8% 0.09 124.3)

  • #3993A6

    #3993A6

    oklch(61.8% 0.088 214.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9178B1.

Similar named colors

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

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