#8178C2

Closest named color: Deep Lilac (#966EBD). oklch(61.2% 0.111 288.3), rgb(129, 120, 194).

Aa

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

About this color

#8178C2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 61%, its chroma 0.111 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Lilac (#966EBD), ΔE 0.039 away. Black text reads best on it, at 5.39:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.111)
Temperaturecool
Nearest nameDeep Lilac (#966EBD)
Black text5.39:1
White text3.88:1

Values

HEX#8178C2
RGBrgb(129, 120, 194)
HSLhsl(247, 38%, 62%)
OKLCHoklch(61.2% 0.111 288.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 #8178C2 3.88:1 AA large text Lc -71.8 Content text, not long reading
Black text on #8178C2 5.39:1 AA Lc 37.8 Non-text elements, placeholder text
#8178C2 text on white 3.88:1 AA large text Lc 66.3 Content text, not long reading
#8178C2 text on black 5.39:1 AA Lc -35.4 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D8D6EC

    oklch(88.4% 0.03 289.9)

  4. Step 300

    300

    #BEBCE2

    oklch(80.9% 0.053 287.6)

  5. Step 400

    400

    #9E98D4

    oklch(70.7% 0.087 288.5)

  6. Step 500

    500 (this color)

    #8178C2

    oklch(61.2% 0.111 288.3)

  7. Step 600

    600

    #7166B5

    oklch(55.6% 0.12 288.2)

  8. Step 700

    700

    #5F549C

    oklch(49.1% 0.113 288.6)

  9. Step 800

    800

    #4D457E

    oklch(42.6% 0.093 288.3)

  10. Step 900

    900

    #403B65

    oklch(37.7% 0.071 288)

  11. Step 950

    950

    #25233B

    oklch(27% 0.044 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#8178C2 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)#6183C50.048
Deuteranopia (no green cones)#617FC00.046
Tritanopia (no blue cones)#7186940.094
Achromatopsia (no color)#8181810.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #8178C2

    #8178C2

    oklch(61.2% 0.111 288.3)

  • #8A882F

    #8A882F

    oklch(61.1% 0.11 108)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8178C2

    #8178C2

    oklch(61.2% 0.111 288.3)

  • #5984C5

    #5984C5

    oklch(61.1% 0.11 258.4)

  • #9F6DAE

    #9F6DAE

    oklch(61% 0.111 318.2)

Open the analogous palette in the generator

Split complementary

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

  • #8178C2

    #8178C2

    oklch(61.2% 0.111 288.3)

  • #A87B29

    #A87B29

    oklch(61.3% 0.111 78.5)

  • #619350

    #619350

    oklch(61.1% 0.11 138.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8178C2

    #8178C2

    oklch(61.2% 0.111 288.3)

  • #B96E45

    #B96E45

    oklch(61.2% 0.111 48.4)

  • #2A9977

    #2A9977

    oklch(61.3% 0.111 167.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8178C2

    #8178C2

    oklch(61.2% 0.111 288.3)

  • #BD666A

    #BD666A

    oklch(61.1% 0.111 18)

  • #8A882F

    #8A882F

    oklch(61.1% 0.11 108)

  • #00969A

    #00969A

    oklch(61.1% 0.104 198.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8178C2 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.