#9786EC

Closest named color: Perrywinkle (#8F8CE7). oklch(67.9% 0.148 289.5), rgb(151, 134, 236).

Aa

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

About this color

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

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

Values

HEX#9786EC
RGBrgb(151, 134, 236)
HSLhsl(250, 73%, 73%)
OKLCHoklch(67.9% 0.148 289.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 #9786EC 3.02:1 AA large text Lc -62.3 Content text, not long reading
Black text on #9786EC 6.93:1 AA Lc 47.1 Large or bold text, headings
#9786EC text on white 3.02:1 AA large text Lc 56.9 Large or bold text, headings
#9786EC text on black 6.93: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  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)

    #9786EC

    oklch(67.9% 0.148 289.5)

  6. Step 500

    500

    #8A6FF2

    oklch(63.1% 0.189 289.3)

  7. Step 600

    600

    #7652E0

    oklch(55.5% 0.205 289.7)

  8. Step 700

    700

    #6342C3

    oklch(49.1% 0.191 289.2)

  9. Step 800

    800

    #51379D

    oklch(42.6% 0.158 289.8)

  10. Step 900

    900

    #42317D

    oklch(37.6% 0.123 289.4)

  11. Step 950

    950

    #271E49

    oklch(27.1% 0.077 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#9786EC 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)#6496F00.071
Deuteranopia (no green cones)#6492EA0.069
Tritanopia (no blue cones)#819AAE0.123
Achromatopsia (no color)#9494940.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #9786EC

    #9786EC

    oklch(67.9% 0.148 289.5)

  • #9F9E01

    #9F9E01

    oklch(67.8% 0.147 109.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9786EC

    #9786EC

    oklch(67.9% 0.148 289.5)

  • #5F97F2

    #5F97F2

    oklch(67.9% 0.148 259.7)

  • #BF77D0

    #BF77D0

    oklch(67.8% 0.148 319.8)

Open the analogous palette in the generator

Split complementary

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

  • #9786EC

    #9786EC

    oklch(67.9% 0.148 289.5)

  • #C58C00

    #C58C00

    oklch(67.9% 0.141 79.7)

  • #64AD51

    #64AD51

    oklch(67.9% 0.147 139.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9786EC

    #9786EC

    oklch(67.9% 0.148 289.5)

  • #DF793A

    #DF793A

    oklch(68% 0.148 49.6)

  • #00B28A

    #00B28A

    oklch(67.9% 0.135 169.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9786EC

    #9786EC

    oklch(67.9% 0.148 289.5)

  • #E46E72

    #E46E72

    oklch(67.9% 0.147 19.7)

  • #9F9E01

    #9F9E01

    oklch(67.8% 0.147 109.3)

  • #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 #9786EC, closest first.

Similar named colors

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

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