#A787E1

Closest named color: Perrywinkle (#8F8CE7). oklch(68.9% 0.133 299.3), rgb(167, 135, 225).

Aa

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

About this color

#A787E1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 69%, its chroma 0.133 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.037 away. Black text reads best on it, at 7.19:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text7.19:1
White text2.91:1

Values

HEX#A787E1
RGBrgb(167, 135, 225)
HSLhsl(261, 60%, 71%)
OKLCHoklch(68.9% 0.133 299.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 #A787E1 2.91:1 Fails Lc -60.8 Content text, not long reading
Black text on #A787E1 7.19:1 AAA Lc 48.6 Large or bold text, headings
#A787E1 text on white 2.91:1 Fails Lc 55.5 Large or bold text, headings
#A787E1 text on black 7.19:1 AAA Lc -46.3 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE7F8

    oklch(93.7% 0.023 299.4)

  3. Step 200

    200

    #DDD3F4

    oklch(88.5% 0.046 299.3)

  4. Step 300

    300

    #C8B5EF

    oklch(80.9% 0.083 299.6)

  5. Step 400

    400 (this color)

    #A787E1

    oklch(68.9% 0.133 299.3)

  6. Step 500

    500

    #996DE0

    oklch(63.1% 0.17 299.1)

  7. Step 600

    600

    #8552CD

    oklch(55.6% 0.183 299.5)

  8. Step 700

    700

    #7141B2

    oklch(49.1% 0.172 299.6)

  9. Step 800

    800

    #5B3790

    oklch(42.7% 0.141 298.9)

  10. Step 900

    900

    #4B3173

    oklch(37.8% 0.11 299.3)

  11. Step 950

    950

    #2C1D43

    oklch(27% 0.07 300)

Export this scale for Tailwind in the Tailwind colors tool

#A787E1 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)#6F97E40.081
Deuteranopia (no green cones)#7596DF0.076
Tritanopia (no blue cones)#9C96A90.104
Achromatopsia (no color)#9797970.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #A787E1

    #A787E1

    oklch(68.9% 0.133 299.3)

  • #92A63D

    #92A63D

    oklch(68.8% 0.132 119.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A787E1

    #A787E1

    oklch(68.9% 0.133 299.3)

  • #7A96ED

    #7A96ED

    oklch(68.9% 0.132 269.2)

  • #C87BC3

    #C87BC3

    oklch(68.9% 0.133 329.2)

Open the analogous palette in the generator

Split complementary

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

  • #A787E1

    #A787E1

    oklch(68.9% 0.133 299.3)

  • #BC961F

    #BC961F

    oklch(69% 0.133 89.2)

  • #58B16D

    #58B16D

    oklch(68.8% 0.132 149.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A787E1

    #A787E1

    oklch(68.9% 0.133 299.3)

  • #D6853C

    #D6853C

    oklch(68.9% 0.132 59.5)

  • #00B49D

    #00B49D

    oklch(68.9% 0.126 179.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A787E1

    #A787E1

    oklch(68.9% 0.133 299.3)

  • #E1796A

    #E1796A

    oklch(69% 0.132 29.4)

  • #92A63D

    #92A63D

    oklch(68.8% 0.132 119.2)

  • #00AEC3

    #00AEC3

    oklch(68.8% 0.119 209.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #A787E1 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.