#9788CA

Closest named color: Wisteria (#A87DC2). oklch(66.5% 0.097 294), rgb(151, 136, 202).

Aa

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

About this color

#9788CA is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.097 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.036 away. Black text reads best on it, at 6.69:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.69:1
White text3.13:1

Values

HEX#9788CA
RGBrgb(151, 136, 202)
HSLhsl(254, 38%, 66%)
OKLCHoklch(66.5% 0.097 294)

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 #9788CA 3.13:1 AA large text Lc -63.8 Content text, not long reading
Black text on #9788CA 6.69:1 AA Lc 45.6 Large or bold text, headings
#9788CA text on white 3.13:1 AA large text Lc 58.4 Large or bold text, headings
#9788CA text on black 6.69:1 AA Lc -43.3 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E9

    oklch(88.5% 0.026 295.5)

  4. Step 300

    300

    #C2BBDD

    oklch(80.9% 0.048 294.7)

  5. Step 400

    400

    #A398CC

    oklch(70.8% 0.076 294.1)

  6. Step 500

    500 (this color)

    #9788CA

    oklch(66.5% 0.097 294)

  7. Step 600

    600

    #7766AB

    oklch(55.6% 0.106 294)

  8. Step 700

    700

    #645593

    oklch(49.2% 0.098 293.6)

  9. Step 800

    800

    #524577

    oklch(42.6% 0.082 294.6)

  10. Step 900

    900

    #433B60

    oklch(37.7% 0.063 293.1)

  11. Step 950

    950

    #272238

    oklch(26.8% 0.041 293.9)

Export this scale for Tailwind in the Tailwind colors tool

#9788CA 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)#7792CD0.048
Deuteranopia (no green cones)#7990C80.045
Tritanopia (no blue cones)#8C93A00.080
Achromatopsia (no color)#9191910.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #9788CA

    #9788CA

    oklch(66.5% 0.097 294)

  • #939B51

    #939B51

    oklch(66.6% 0.098 114.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9788CA

    #9788CA

    oklch(66.5% 0.097 294)

  • #7593D0

    #7593D0

    oklch(66.5% 0.097 263.9)

  • #B27FB6

    #B27FB6

    oklch(66.6% 0.098 324.1)

Open the analogous palette in the generator

Split complementary

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

  • #9788CA

    #9788CA

    oklch(66.5% 0.097 294)

  • #B08F49

    #B08F49

    oklch(66.6% 0.097 84.3)

  • #6EA46D

    #6EA46D

    oklch(66.6% 0.098 144)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9788CA

    #9788CA

    oklch(66.5% 0.097 294)

  • #C38359

    #C38359

    oklch(66.6% 0.098 53.6)

  • #48A78F

    #48A78F

    oklch(66.5% 0.097 174)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9788CA

    #9788CA

    oklch(66.5% 0.097 294)

  • #C97B76

    #C97B76

    oklch(66.5% 0.098 24)

  • #939B51

    #939B51

    oklch(66.6% 0.098 114.2)

  • #38A5AF

    #38A5AF

    oklch(66.5% 0.097 203.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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