#9786ED

Closest named color: Perrywinkle (#8F8CE7). oklch(67.9% 0.149 289.4), rgb(151, 134, 237).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.149)
Temperaturecool
Nearest namePerrywinkle (#8F8CE7)
Black text6.94:1
White text3.02:1

Values

HEX#9786ED
RGBrgb(151, 134, 237)
HSLhsl(250, 74%, 73%)
OKLCHoklch(67.9% 0.149 289.4)

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 #9786ED 3.02:1 AA large text Lc -62.2 Content text, not long reading
Black text on #9786ED 6.94:1 AA Lc 47.2 Large or bold text, headings
#9786ED text on white 3.02:1 AA large text Lc 56.8 Large or bold text, headings
#9786ED text on black 6.94:1 AA Lc -44.9 Non-text elements, placeholder text

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

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D8D4FA

    oklch(88.5% 0.052 290.1)

  4. Step 300

    300

    #BFB7F9

    oklch(80.9% 0.093 289.7)

  5. Step 400

    400 (this color)

    #9786ED

    oklch(67.9% 0.149 289.4)

  6. Step 500

    500

    #8A6EF3

    oklch(63% 0.191 289.4)

  7. Step 600

    600

    #7652E1

    oklch(55.6% 0.206 289.5)

  8. Step 700

    700

    #6341C4

    oklch(49.1% 0.193 289.2)

  9. Step 800

    800

    #51379E

    oklch(42.7% 0.159 289.6)

  10. Step 900

    900

    #42317E

    oklch(37.7% 0.125 289.2)

  11. Step 950

    950

    #271E4A

    oklch(27.2% 0.079 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#9786ED 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)#6396F10.072
Deuteranopia (no green cones)#6392EB0.070
Tritanopia (no blue cones)#819AAE0.125
Achromatopsia (no color)#9494940.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #9786ED

    #9786ED

    oklch(67.9% 0.149 289.4)

  • #9F9F00

    #9F9F00

    oklch(68% 0.148 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9786ED

    #9786ED

    oklch(67.9% 0.149 289.4)

  • #5E97F3

    #5E97F3

    oklch(67.9% 0.149 259.6)

  • #BF77D1

    #BF77D1

    oklch(67.8% 0.149 319.4)

Open the analogous palette in the generator

Split complementary

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

  • #9786ED

    #9786ED

    oklch(67.9% 0.149 289.4)

  • #C68C00

    #C68C00

    oklch(68% 0.141 79.2)

  • #63AE50

    #63AE50

    oklch(68% 0.149 139.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9786ED

    #9786ED

    oklch(67.9% 0.149 289.4)

  • #DF7839

    #DF7839

    oklch(67.8% 0.149 49.3)

  • #00B28A

    #00B28A

    oklch(67.9% 0.135 169.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9786ED

    #9786ED

    oklch(67.9% 0.149 289.4)

  • #E56D72

    #E56D72

    oklch(67.9% 0.149 19.3)

  • #9F9F00

    #9F9F00

    oklch(68% 0.148 109.8)

  • #00ADB3

    #00ADB3

    oklch(67.9% 0.115 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 #9786ED, closest first.

Similar named colors

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

Use #9786ED 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.