#8870DC

Closest named color: Medium Purple (#9370DB). oklch(61.8% 0.159 291.3), rgb(136, 112, 220).

Aa

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

About this color

#8870DC is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.159 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.018 away. Black text reads best on it, at 5.39:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.159)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.39:1
White text3.89:1

Values

HEX#8870DC
RGBrgb(136, 112, 220)
HSLhsl(253, 61%, 65%)
OKLCHoklch(61.8% 0.159 291.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 #8870DC 3.89:1 AA large text Lc -71.6 Content text, not long reading
Black text on #8870DC 5.39:1 AA Lc 37.9 Non-text elements, placeholder text
#8870DC text on white 3.89:1 AA large text Lc 66.1 Content text, not long reading
#8870DC text on black 5.39:1 AA Lc -35.5 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D9D5F4

    oklch(88.6% 0.042 291.4)

  4. Step 300

    300

    #C0B8F0

    oklch(80.8% 0.079 291.1)

  5. Step 400

    400

    #A192E8

    oklch(70.7% 0.124 290.9)

  6. Step 500

    500 (this color)

    #8870DC

    oklch(61.8% 0.159 291.3)

  7. Step 600

    600

    #775ACE

    oklch(55.6% 0.172 291.3)

  8. Step 700

    700

    #6449B3

    oklch(49.1% 0.161 291)

  9. Step 800

    800

    #523D91

    oklch(42.8% 0.133 291.3)

  10. Step 900

    900

    #433573

    oklch(37.7% 0.103 291.1)

  11. Step 950

    950

    #271F44

    oklch(26.9% 0.067 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#8870DC 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)#4683E00.088
Deuteranopia (no green cones)#497FD90.085
Tritanopia (no blue cones)#72869C0.130
Achromatopsia (no color)#8181810.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #8870DC

    #8870DC

    oklch(61.8% 0.159 291.3)

  • #898C00

    #898C00

    oklch(61.7% 0.136 111.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8870DC

    #8870DC

    oklch(61.8% 0.159 291.3)

  • #4C82E4

    #4C82E4

    oklch(61.8% 0.159 261.3)

  • #B061BE

    #B061BE

    oklch(61.8% 0.158 321.4)

Open the analogous palette in the generator

Split complementary

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

  • #8870DC

    #8870DC

    oklch(61.8% 0.159 291.3)

  • #AC7C00

    #AC7C00

    oklch(61.8% 0.128 81.3)

  • #469C3A

    #469C3A

    oklch(61.8% 0.159 141.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8870DC

    #8870DC

    oklch(61.8% 0.159 291.3)

  • #CD6306

    #CD6306

    oklch(61.7% 0.159 51.2)

  • #009C7C

    #009C7C

    oklch(61.7% 0.12 171.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8870DC

    #8870DC

    oklch(61.8% 0.159 291.3)

  • #D4565A

    #D4565A

    oklch(61.7% 0.159 21.1)

  • #898C00

    #898C00

    oklch(61.7% 0.136 111.3)

  • #0098A0

    #0098A0

    oklch(61.8% 0.105 201.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8870DC 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.