#8878CD

Closest named color: Medium Purple (#9370DB). oklch(62.3% 0.126 290.9), rgb(136, 120, 205).

Aa

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

About this color

#8878CD is a medium-light, moderately saturated purple. In OKLCH its lightness is 62%, its chroma 0.126 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.035 away. Black text reads best on it, at 5.61:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.61:1
White text3.73:1

Values

HEX#8878CD
RGBrgb(136, 120, 205)
HSLhsl(251, 46%, 64%)
OKLCHoklch(62.3% 0.126 290.9)

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 #8878CD 3.73:1 AA large text Lc -70.4 Content text, not long reading
Black text on #8878CD 5.61:1 AA Lc 39.2 Non-text elements, placeholder text
#8878CD text on white 3.73:1 AA large text Lc 64.9 Content text, not long reading
#8878CD text on black 5.61:1 AA Lc -36.8 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D9D6EF

    oklch(88.6% 0.034 291.2)

  4. Step 300

    300

    #C0BAE6

    oklch(80.8% 0.062 291.2)

  5. Step 400

    400

    #A096DA

    oklch(70.7% 0.099 290.4)

  6. Step 500

    500 (this color)

    #8878CD

    oklch(62.3% 0.126 290.9)

  7. Step 600

    600

    #7562BC

    oklch(55.6% 0.136 291)

  8. Step 700

    700

    #6250A3

    oklch(49% 0.129 290.8)

  9. Step 800

    800

    #504284

    oklch(42.7% 0.107 290.9)

  10. Step 900

    900

    #42396A

    oklch(37.8% 0.082 290.4)

  11. Step 950

    950

    #27213E

    oklch(27% 0.053 291.9)

Export this scale for Tailwind in the Tailwind colors tool

#8878CD 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)#5D85D00.062
Deuteranopia (no green cones)#5E82CB0.060
Tritanopia (no blue cones)#7788990.105
Achromatopsia (no color)#8484840.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #8878CD

    #8878CD

    oklch(62.3% 0.126 290.9)

  • #8B8E20

    #8B8E20

    oklch(62.4% 0.126 111.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8878CD

    #8878CD

    oklch(62.3% 0.126 290.9)

  • #5A86D3

    #5A86D3

    oklch(62.3% 0.127 260.9)

  • #A96CB5

    #A96CB5

    oklch(62.3% 0.126 320.8)

Open the analogous palette in the generator

Split complementary

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

  • #8878CD

    #8878CD

    oklch(62.3% 0.126 290.9)

  • #AE7E0C

    #AE7E0C

    oklch(62.5% 0.126 81.1)

  • #599A4F

    #599A4F

    oklch(62.4% 0.127 141.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8878CD

    #8878CD

    oklch(62.3% 0.126 290.9)

  • #C26E39

    #C26E39

    oklch(62.3% 0.126 50.7)

  • #009E7D

    #009E7D

    oklch(62.2% 0.122 171)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8878CD

    #8878CD

    oklch(62.3% 0.126 290.9)

  • #C86566

    #C86566

    oklch(62.4% 0.126 20.7)

  • #8B8E20

    #8B8E20

    oklch(62.4% 0.126 111.2)

  • #009AA1

    #009AA1

    oklch(62.4% 0.106 200.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8878CD 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.