#A787D2

Closest named color: Wisteria (#A87DC2). oklch(68.2% 0.113 303.1), rgb(167, 135, 210).

Aa

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

About this color

#A787D2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.113 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.030 away. Black text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text7.03:1
White text2.98:1

Values

HEX#A787D2
RGBrgb(167, 135, 210)
HSLhsl(266, 45%, 68%)
OKLCHoklch(68.2% 0.113 303.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 #A787D2 2.98:1 Fails Lc -61.7 Content text, not long reading
Black text on #A787D2 7.03:1 AAA Lc 47.7 Large or bold text, headings
#A787D2 text on white 2.98:1 Fails Lc 56.4 Large or bold text, headings
#A787D2 text on black 7.03:1 AAA Lc -45.4 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DED3EF

    oklch(88.4% 0.04 303.4)

  4. Step 300

    300

    #CAB6E7

    oklch(80.9% 0.071 303.4)

  5. Step 400

    400 (this color)

    #A787D2

    oklch(68.2% 0.113 303.1)

  6. Step 500

    500

    #9C71D0

    oklch(63.1% 0.144 303.4)

  7. Step 600

    600

    #8757BD

    oklch(55.6% 0.157 303.4)

  8. Step 700

    700

    #7247A3

    oklch(49.1% 0.145 303)

  9. Step 800

    800

    #5D3B84

    oklch(42.7% 0.12 303.2)

  10. Step 900

    900

    #4C336A

    oklch(37.7% 0.094 303.2)

  11. Step 950

    950

    #2C1E3E

    oklch(26.9% 0.06 302.8)

Export this scale for Tailwind in the Tailwind colors tool

#A787D2 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)#7695D50.073
Deuteranopia (no green cones)#7D95D00.067
Tritanopia (no blue cones)#A093A30.087
Achromatopsia (no color)#9595950.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #A787D2

    #A787D2

    oklch(68.2% 0.113 303.1)

  • #8BA452

    #8BA452

    oklch(68.1% 0.112 123.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A787D2

    #A787D2

    oklch(68.2% 0.113 303.1)

  • #8293DE

    #8293DE

    oklch(68.1% 0.113 273.3)

  • #C27EB6

    #C27EB6

    oklch(68.2% 0.112 333.3)

Open the analogous palette in the generator

Split complementary

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

  • #A787D2

    #A787D2

    oklch(68.2% 0.113 303.1)

  • #B1973D

    #B1973D

    oklch(68.3% 0.113 93)

  • #5CAD77

    #5CAD77

    oklch(68.1% 0.113 153.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A787D2

    #A787D2

    oklch(68.2% 0.113 303.1)

  • #CA8849

    #CA8849

    oklch(68.1% 0.113 62.6)

  • #28AF9F

    #28AF9F

    oklch(68.1% 0.113 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A787D2

    #A787D2

    oklch(68.2% 0.113 303.1)

  • #D57E6B

    #D57E6B

    oklch(68.2% 0.112 33.2)

  • #8BA452

    #8BA452

    oklch(68.1% 0.112 123.4)

  • #22AAC2

    #22AAC2

    oklch(68.1% 0.113 213.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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