#9787F2

Closest named color: Lavender Blue (#8B88F8). oklch(68.4% 0.154 288.5), rgb(151, 135, 242).

Aa

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

About this color

#9787F2 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.154 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.019 away. Black text reads best on it, at 7.06:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.154)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.06:1
White text2.97:1

Values

HEX#9787F2
RGBrgb(151, 135, 242)
HSLhsl(249, 80%, 74%)
OKLCHoklch(68.4% 0.154 288.5)

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 #9787F2 2.97:1 Fails Lc -61.5 Content text, not long reading
Black text on #9787F2 7.06:1 AAA Lc 47.9 Large or bold text, headings
#9787F2 text on white 2.97:1 Fails Lc 56.2 Large or bold text, headings
#9787F2 text on black 7.06:1 AAA Lc -45.6 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D7D4FB

    oklch(88.5% 0.053 288.8)

  4. Step 300

    300

    #BEB7FC

    oklch(81% 0.097 288.7)

  5. Step 400

    400 (this color)

    #9787F2

    oklch(68.4% 0.154 288.5)

  6. Step 500

    500

    #896EF7

    oklch(63.2% 0.196 288.6)

  7. Step 600

    600

    #7450E6

    oklch(55.5% 0.215 288.4)

  8. Step 700

    700

    #6240C8

    oklch(49.2% 0.199 288.3)

  9. Step 800

    800

    #5036A1

    oklch(42.7% 0.164 288.7)

  10. Step 900

    900

    #413080

    oklch(37.6% 0.129 288.4)

  11. Step 950

    950

    #261D4B

    oklch(26.9% 0.082 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#9787F2 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)#6198F60.074
Deuteranopia (no green cones)#6193EF0.072
Tritanopia (no blue cones)#7F9CB10.129
Achromatopsia (no color)#9696960.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #9787F2

    #9787F2

    oklch(68.4% 0.154 288.5)

  • #A29F00

    #A29F00

    oklch(68.3% 0.148 108.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9787F2

    #9787F2

    oklch(68.4% 0.154 288.5)

  • #5B99F7

    #5B99F7

    oklch(68.4% 0.154 258.5)

  • #C178D6

    #C178D6

    oklch(68.5% 0.154 318.4)

Open the analogous palette in the generator

Split complementary

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

  • #9787F2

    #9787F2

    oklch(68.4% 0.154 288.5)

  • #C88D00

    #C88D00

    oklch(68.4% 0.142 78.9)

  • #65AF4C

    #65AF4C

    oklch(68.3% 0.153 138.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9787F2

    #9787F2

    oklch(68.4% 0.154 288.5)

  • #E47837

    #E47837

    oklch(68.5% 0.155 48.7)

  • #00B48A

    #00B48A

    oklch(68.4% 0.138 168.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9787F2

    #9787F2

    oklch(68.4% 0.154 288.5)

  • #E96D74

    #E96D74

    oklch(68.5% 0.154 18.6)

  • #A29F00

    #A29F00

    oklch(68.3% 0.148 108.4)

  • #00AFB4

    #00AFB4

    oklch(68.5% 0.116 198.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9787F2 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.