#9788EB

Closest named color: Perrywinkle (#8F8CE7). oklch(68.2% 0.143 289), rgb(151, 136, 235).

Aa

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

About this color

#9788EB is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.143 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.017 away. Black text reads best on it, at 7.03:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.143)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text7.03:1
White text2.98:1

Values

HEX#9788EB
RGBrgb(151, 136, 235)
HSLhsl(249, 71%, 73%)
OKLCHoklch(68.2% 0.143 289)

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 #9788EB 2.98:1 Fails Lc -61.7 Content text, not long reading
Black text on #9788EB 7.03:1 AAA Lc 47.7 Large or bold text, headings
#9788EB text on white 2.98:1 Fails Lc 56.3 Large or bold text, headings
#9788EB 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D7D4F9

    oklch(88.4% 0.051 289)

  4. Step 300

    300

    #BEB8F7

    oklch(81% 0.088 288.6)

  5. Step 400

    400 (this color)

    #9788EB

    oklch(68.2% 0.143 289)

  6. Step 500

    500

    #8970EF

    oklch(63% 0.183 289.1)

  7. Step 600

    600

    #7555DE

    oklch(55.7% 0.199 289)

  8. Step 700

    700

    #6244C0

    oklch(49.1% 0.184 288.9)

  9. Step 800

    800

    #50399C

    oklch(42.8% 0.154 288.9)

  10. Step 900

    900

    #42327C

    oklch(37.7% 0.12 289.3)

  11. Step 950

    950

    #261E48

    oklch(26.9% 0.075 289.1)

Export this scale for Tailwind in the Tailwind colors tool

#9788EB 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)#6797EF0.067
Deuteranopia (no green cones)#6793E90.065
Tritanopia (no blue cones)#819BAE0.121
Achromatopsia (no color)#9595950.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #9788EB

    #9788EB

    oklch(68.2% 0.143 289)

  • #A19F15

    #A19F15

    oklch(68.2% 0.143 108.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9788EB

    #9788EB

    oklch(68.2% 0.143 289)

  • #6099F0

    #6099F0

    oklch(68.3% 0.143 258.6)

  • #BE7AD1

    #BE7AD1

    oklch(68.2% 0.143 318.7)

Open the analogous palette in the generator

Split complementary

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

  • #9788EB

    #9788EB

    oklch(68.2% 0.143 289)

  • #C78C00

    #C78C00

    oklch(68.1% 0.142 78.7)

  • #68AD53

    #68AD53

    oklch(68.1% 0.143 138.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9788EB

    #9788EB

    oklch(68.2% 0.143 289)

  • #DE7B40

    #DE7B40

    oklch(68.3% 0.143 49.2)

  • #00B38A

    #00B38A

    oklch(68.1% 0.136 169)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9788EB

    #9788EB

    oklch(68.2% 0.143 289)

  • #E37075

    #E37075

    oklch(68.1% 0.143 18.9)

  • #A19F15

    #A19F15

    oklch(68.2% 0.143 108.7)

  • #00AEB4

    #00AEB4

    oklch(68.2% 0.116 199.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9788EB 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.