#9178AF

Closest named color: Dark Lilac (#9C6DA5). oklch(61.7% 0.086 304.8), rgb(145, 120, 175).

Aa

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

About this color

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

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

Values

HEX#9178AF
RGBrgb(145, 120, 175)
HSLhsl(267, 26%, 58%)
OKLCHoklch(61.7% 0.086 304.8)

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 #9178AF 3.81:1 AA large text Lc -71.1 Content text, not long reading
Black text on #9178AF 5.50:1 AA Lc 38.5 Non-text elements, placeholder text
#9178AF text on white 3.81:1 AA large text Lc 65.6 Content text, not long reading
#9178AF text on black 5.50:1 AA Lc -36.1 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

    #C7BAD7

    oklch(80.9% 0.043 305.7)

  5. Step 400

    400

    #AA96C3

    oklch(70.6% 0.068 304.9)

  6. Step 500

    500 (this color)

    #9178AF

    oklch(61.7% 0.086 304.8)

  7. Step 600

    600

    #80659F

    oklch(55.6% 0.093 305)

  8. Step 700

    700

    #6C5388

    oklch(49% 0.087 305.1)

  9. Step 800

    800

    #58446F

    oklch(42.6% 0.073 304.9)

  10. Step 900

    900

    #483A5A

    oklch(37.7% 0.056 303.9)

  11. Step 950

    950

    #2A2234

    oklch(26.9% 0.035 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#9178AF 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)#6D82B10.056
Deuteranopia (no green cones)#7283AD0.052
Tritanopia (no blue cones)#8D808C0.065
Achromatopsia (no color)#8383830.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #9178AF

    #9178AF

    oklch(61.7% 0.086 304.8)

  • #798E54

    #798E54

    oklch(61.6% 0.085 125.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9178AF

    #9178AF

    oklch(61.7% 0.086 304.8)

  • #7681B9

    #7681B9

    oklch(61.7% 0.086 275.1)

  • #A5719A

    #A5719A

    oklch(61.6% 0.086 334.4)

Open the analogous palette in the generator

Split complementary

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

  • #9178AF

    #9178AF

    oklch(61.7% 0.086 304.8)

  • #958545

    #958545

    oklch(61.7% 0.086 95.6)

  • #59956E

    #59956E

    oklch(61.8% 0.087 154.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9178AF

    #9178AF

    oklch(61.7% 0.086 304.8)

  • #A97A4C

    #A97A4C

    oklch(61.6% 0.085 64.5)

  • #3D968C

    #3D968C

    oklch(61.7% 0.086 185.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9178AF

    #9178AF

    oklch(61.7% 0.086 304.8)

  • #B27262

    #B27262

    oklch(61.6% 0.085 34.7)

  • #798E54

    #798E54

    oklch(61.6% 0.085 125.1)

  • #3D92A5

    #3D92A5

    oklch(61.6% 0.086 214.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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