#A787F9

Closest named color: Lavender Blue (#8B88F8). oklch(70.1% 0.164 294.7), rgb(167, 135, 249).

Aa

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

About this color

#A787F9 is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.164 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.041 away. Black text reads best on it, at 7.47:1.

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.164)
Temperaturein between
Nearest nameLavender Blue (#8B88F8)
Black text7.47:1
White text2.80:1

Values

HEX#A787F9
RGBrgb(167, 135, 249)
HSLhsl(257, 90%, 75%)
OKLCHoklch(70.1% 0.164 294.7)

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 #A787F9 2.80:1 Fails Lc -59.1 Large or bold text, headings
Black text on #A787F9 7.47:1 AAA Lc 50.2 Large or bold text, headings
#A787F9 text on white 2.80:1 Fails Lc 53.8 Large or bold text, headings
#A787F9 text on black 7.47:1 AAA Lc -48.0 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE6FC

    oklch(93.5% 0.03 296.2)

  3. Step 200

    200

    #DBD2FC

    oklch(88.4% 0.058 295)

  4. Step 300

    300

    #C5B4FC

    oklch(81% 0.102 294.9)

  5. Step 400

    400 (this color)

    #A787F9

    oklch(70.1% 0.164 294.7)

  6. Step 500

    500

    #9666F8

    oklch(63.2% 0.209 294.9)

  7. Step 600

    600

    #8246E7

    oklch(55.6% 0.228 294.9)

  8. Step 700

    700

    #6E36C9

    oklch(49.1% 0.212 294.7)

  9. Step 800

    800

    #592EA2

    oklch(42.6% 0.175 294.8)

  10. Step 900

    900

    #492C81

    oklch(37.8% 0.136 294.7)

  11. Step 950

    950

    #2A1B4B

    oklch(27% 0.085 294.4)

Export this scale for Tailwind in the Tailwind colors tool

#A787F9 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)#619BFD0.096
Deuteranopia (no green cones)#6798F60.090
Tritanopia (no blue cones)#949DB40.133
Achromatopsia (no color)#9A9A9A0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #A787F9

    #A787F9

    oklch(70.1% 0.164 294.7)

  • #9DA900

    #9DA900

    oklch(70.1% 0.159 114.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A787F9

    #A787F9

    oklch(70.1% 0.164 294.7)

  • #6E9BFF

    #6E9BFF

    oklch(70.2% 0.155 264.5)

  • #D077D7

    #D077D7

    oklch(70.1% 0.165 324.5)

Open the analogous palette in the generator

Split complementary

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

  • #A787F9

    #A787F9

    oklch(70.1% 0.164 294.7)

  • #C89600

    #C89600

    oklch(70.2% 0.144 84.7)

  • #53B959

    #53B959

    oklch(70.3% 0.165 144.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A787F9

    #A787F9

    oklch(70.1% 0.164 294.7)

  • #EA7E20

    #EA7E20

    oklch(70.1% 0.164 54.7)

  • #00B99A

    #00B99A

    oklch(70.1% 0.132 174.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A787F9

    #A787F9

    oklch(70.1% 0.164 294.7)

  • #F4706A

    #F4706A

    oklch(70.2% 0.164 24.8)

  • #9DA900

    #9DA900

    oklch(70.1% 0.159 114.8)

  • #00B4C2

    #00B4C2

    oklch(70.2% 0.12 204.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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