#8F78B2

Closest named color: Dark Lilac (#9C6DA5). oklch(61.6% 0.089 302.1), rgb(143, 120, 178).

Aa

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

About this color

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

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

Values

HEX#8F78B2
RGBrgb(143, 120, 178)
HSLhsl(264, 27%, 58%)
OKLCHoklch(61.6% 0.089 302.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 #8F78B2 3.81:1 AA large text Lc -71.2 Content text, not long reading
Black text on #8F78B2 5.49:1 AA Lc 38.4 Non-text elements, placeholder text
#8F78B2 text on white 3.81:1 AA large text Lc 65.7 Content text, not long reading
#8F78B2 text on black 5.49:1 AA Lc -36.0 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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DCD6E7

    oklch(88.6% 0.024 301.9)

  4. Step 300

    300

    #C6BAD9

    oklch(80.9% 0.045 303)

  5. Step 400

    400

    #A897C5

    oklch(70.7% 0.069 301.6)

  6. Step 500

    500 (this color)

    #8F78B2

    oklch(61.6% 0.089 302.1)

  7. Step 600

    600

    #7E65A3

    oklch(55.6% 0.097 301.9)

  8. Step 700

    700

    #6A548B

    oklch(49.1% 0.089 301.6)

  9. Step 800

    800

    #574571

    oklch(42.8% 0.074 302.2)

  10. Step 900

    900

    #473A5B

    oklch(37.7% 0.057 301.8)

  11. Step 950

    950

    #2A2236

    oklch(27% 0.038 302.3)

Export this scale for Tailwind in the Tailwind colors tool

#8F78B2 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)#6B82B40.055
Deuteranopia (no green cones)#7082B00.051
Tritanopia (no blue cones)#89818D0.070
Achromatopsia (no color)#8282820.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #8F78B2

    #8F78B2

    oklch(61.6% 0.089 302.1)

  • #7C8E4F

    #7C8E4F

    oklch(61.7% 0.09 122.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8F78B2

    #8F78B2

    oklch(61.6% 0.089 302.1)

  • #7282BB

    #7282BB

    oklch(61.7% 0.089 271.6)

  • #A5719D

    #A5719D

    oklch(61.7% 0.089 332.1)

Open the analogous palette in the generator

Split complementary

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

  • #8F78B2

    #8F78B2

    oklch(61.6% 0.089 302.1)

  • #988341

    #988341

    oklch(61.5% 0.089 92)

  • #5A956A

    #5A956A

    oklch(61.7% 0.09 151.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8F78B2

    #8F78B2

    oklch(61.6% 0.089 302.1)

  • #AC794A

    #AC794A

    oklch(61.8% 0.09 62.6)

  • #3A9789

    #3A9789

    oklch(61.7% 0.09 181.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8F78B2

    #8F78B2

    oklch(61.6% 0.089 302.1)

  • #B47063

    #B47063

    oklch(61.5% 0.089 31.5)

  • #7C8E4F

    #7C8E4F

    oklch(61.7% 0.09 122.1)

  • #3693A4

    #3693A4

    oklch(61.6% 0.089 211.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #8F78B2.

Similar named colors

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

Use #8F78B2 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.