#9178CC

Closest named color: Deep Lilac (#966EBD). oklch(63.1% 0.125 296.3), rgb(145, 120, 204).

Aa

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

About this color

#9178CC is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.125 and its hue 296°. 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.76:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameDeep Lilac (#966EBD)
Black text5.76:1
White text3.64:1

Values

HEX#9178CC
RGBrgb(145, 120, 204)
HSLhsl(258, 45%, 64%)
OKLCHoklch(63.1% 0.125 296.3)

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 #9178CC 3.64:1 AA large text Lc -69.4 Content text, not long reading
Black text on #9178CC 5.76:1 AA Lc 40.2 Non-text elements, placeholder text
#9178CC text on white 3.64:1 AA large text Lc 63.9 Content text, not long reading
#9178CC text on black 5.76:1 AA Lc -37.7 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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F5

    oklch(93.7% 0.018 296.6)

  3. Step 200

    200

    #DBD5EE

    oklch(88.5% 0.035 296.7)

  4. Step 300

    300

    #C4B9E4

    oklch(80.9% 0.061 296.7)

  5. Step 400

    400

    #A694D7

    oklch(70.7% 0.098 296.1)

  6. Step 500

    500 (this color)

    #9178CC

    oklch(63.1% 0.125 296.3)

  7. Step 600

    600

    #7C5FB9

    oklch(55.6% 0.137 296.5)

  8. Step 700

    700

    #684E9F

    oklch(49% 0.127 296.2)

  9. Step 800

    800

    #554181

    oklch(42.8% 0.104 296.1)

  10. Step 900

    900

    #463768

    oklch(37.7% 0.083 296.3)

  11. Step 950

    950

    #29213D

    oklch(27.1% 0.052 295.9)

Export this scale for Tailwind in the Tailwind colors tool

#9178CC 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)#6086CF0.072
Deuteranopia (no green cones)#6485CA0.068
Tritanopia (no blue cones)#8587980.101
Achromatopsia (no color)#8686860.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #9178CC

    #9178CC

    oklch(63.1% 0.125 296.3)

  • #85922C

    #85922C

    oklch(63% 0.125 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9178CC

    #9178CC

    oklch(63.1% 0.125 296.3)

  • #6686D5

    #6686D5

    oklch(63.1% 0.125 266.2)

  • #B06DB1

    #B06DB1

    oklch(63.1% 0.124 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #9178CC

    #9178CC

    oklch(63.1% 0.125 296.3)

  • #AB8310

    #AB8310

    oklch(63.1% 0.126 86.2)

  • #519D5A

    #519D5A

    oklch(63% 0.125 146.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9178CC

    #9178CC

    oklch(63.1% 0.125 296.3)

  • #C27334

    #C27334

    oklch(63.1% 0.126 56.1)

  • #00A087

    #00A087

    oklch(63.1% 0.118 176.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9178CC

    #9178CC

    oklch(63.1% 0.125 296.3)

  • #CA6960

    #CA6960

    oklch(63.1% 0.125 26.7)

  • #85922C

    #85922C

    oklch(63% 0.125 116.4)

  • #009BAA

    #009BAA

    oklch(63% 0.108 206.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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