#8A87D2

Closest named color: Perrywinkle (#8F8CE7). oklch(65.7% 0.11 284.8), rgb(138, 135, 210).

Aa

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

About this color

#8A87D2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.110 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.033 away. Black text reads best on it, at 6.47:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.47:1
White text3.24:1

Values

HEX#8A87D2
RGBrgb(138, 135, 210)
HSLhsl(242, 45%, 68%)
OKLCHoklch(65.7% 0.11 284.8)

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 #8A87D2 3.24:1 AA large text Lc -65.1 Content text, not long reading
Black text on #8A87D2 6.47:1 AA Lc 44.4 Non-text elements, placeholder text
#8A87D2 text on white 3.24:1 AA large text Lc 59.6 Large or bold text, headings
#8A87D2 text on black 6.47:1 AA Lc -42.1 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

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D6D7ED

    oklch(88.5% 0.03 283.7)

  4. Step 300

    300

    #BCBCE3

    oklch(80.8% 0.055 285.1)

  5. Step 400

    400

    #9A99D5

    oklch(70.6% 0.087 284.7)

  6. Step 500

    500 (this color)

    #8A87D2

    oklch(65.7% 0.11 284.8)

  7. Step 600

    600

    #6D67B6

    oklch(55.5% 0.12 285.2)

  8. Step 700

    700

    #5B569D

    oklch(49.2% 0.111 284.7)

  9. Step 800

    800

    #4A467F

    oklch(42.6% 0.093 284.9)

  10. Step 900

    900

    #3E3B66

    oklch(37.6% 0.072 285.5)

  11. Step 950

    950

    #24233C

    oklch(27% 0.046 284.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A87D2 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)#7091D50.040
Deuteranopia (no green cones)#6E8DD00.039
Tritanopia (no blue cones)#7795A30.095
Achromatopsia (no color)#8F8F8F0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A87D2

    #8A87D2

    oklch(65.7% 0.11 284.8)

  • #9C953C

    #9C953C

    oklch(65.8% 0.111 104.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A87D2

    #8A87D2

    oklch(65.7% 0.11 284.8)

  • #6194D3

    #6194D3

    oklch(65.7% 0.109 254.4)

  • #AA7CC0

    #AA7CC0

    oklch(65.7% 0.11 314.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A87D2

    #8A87D2

    oklch(65.7% 0.11 284.8)

  • #B9863B

    #B9863B

    oklch(65.6% 0.111 74)

  • #74A059

    #74A059

    oklch(65.7% 0.11 134.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A87D2

    #8A87D2

    oklch(65.7% 0.11 284.8)

  • #C97A56

    #C97A56

    oklch(65.7% 0.111 44.8)

  • #42A680

    #42A680

    oklch(65.6% 0.11 165)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A87D2

    #8A87D2

    oklch(65.7% 0.11 284.8)

  • #CB747C

    #CB747C

    oklch(65.7% 0.109 14.6)

  • #9C953C

    #9C953C

    oklch(65.8% 0.111 104.8)

  • #0CA6A6

    #0CA6A6

    oklch(65.7% 0.111 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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