#9786CD

Closest named color: Wisteria (#A87DC2). oklch(66.3% 0.105 294.4), rgb(151, 134, 205).

Aa

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

About this color

#9786CD is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.105 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.034 away. Black text reads best on it, at 6.60:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.60:1
White text3.17:1

Values

HEX#9786CD
RGBrgb(151, 134, 205)
HSLhsl(254, 42%, 66%)
OKLCHoklch(66.3% 0.105 294.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 #9786CD 3.17:1 AA large text Lc -64.3 Content text, not long reading
Black text on #9786CD 6.60:1 AA Lc 45.2 Large or bold text, headings
#9786CD text on white 3.17:1 AA large text Lc 58.9 Large or bold text, headings
#9786CD text on black 6.60:1 AA Lc -42.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 500.

  1. Step 50

    50

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F3

    oklch(93.6% 0.015 294.5)

  3. Step 200

    200

    #DAD6EB

    oklch(88.6% 0.029 294.5)

  4. Step 300

    300

    #C2BBDF

    oklch(80.9% 0.051 294.2)

  5. Step 400

    400

    #A397CF

    oklch(70.7% 0.082 294)

  6. Step 500

    500 (this color)

    #9786CD

    oklch(66.3% 0.105 294.4)

  7. Step 600

    600

    #7865AF

    oklch(55.7% 0.113 294.2)

  8. Step 700

    700

    #655396

    oklch(49.1% 0.106 294.6)

  9. Step 800

    800

    #52447A

    oklch(42.6% 0.088 294.3)

  10. Step 900

    900

    #443A62

    oklch(37.7% 0.068 294.4)

  11. Step 950

    950

    #282239

    oklch(27% 0.043 295.4)

Export this scale for Tailwind in the Tailwind colors tool

#9786CD 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)#7391D00.053
Deuteranopia (no green cones)#768FCB0.050
Tritanopia (no blue cones)#8C92A00.086
Achromatopsia (no color)#9090900.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #9786CD

    #9786CD

    oklch(66.3% 0.105 294.4)

  • #929A4A

    #929A4A

    oklch(66.2% 0.105 114)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9786CD

    #9786CD

    oklch(66.3% 0.105 294.4)

  • #7392D4

    #7392D4

    oklch(66.4% 0.105 264.5)

  • #B37CB7

    #B37CB7

    oklch(66.2% 0.105 324.4)

Open the analogous palette in the generator

Split complementary

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

  • #9786CD

    #9786CD

    oklch(66.3% 0.105 294.4)

  • #B18D40

    #B18D40

    oklch(66.2% 0.105 84)

  • #69A46A

    #69A46A

    oklch(66.3% 0.105 144.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9786CD

    #9786CD

    oklch(66.3% 0.105 294.4)

  • #C58152

    #C58152

    oklch(66.4% 0.105 54.5)

  • #3DA88F

    #3DA88F

    oklch(66.3% 0.105 174.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9786CD

    #9786CD

    oklch(66.3% 0.105 294.4)

  • #CC7973

    #CC7973

    oklch(66.4% 0.105 24.7)

  • #929A4A

    #929A4A

    oklch(66.2% 0.105 114)

  • #26A5B1

    #26A5B1

    oklch(66.2% 0.105 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 #9786CD, closest first.

Similar named colors

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

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