#9766D8

Closest named color: Medium Purple (#9370DB). oklch(61.3% 0.17 301.4), rgb(151, 102, 216).

Aa

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

About this color

#9766D8 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.170 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.023 away. Black text reads best on it, at 5.20:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.170)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.20:1
White text4.03:1

Values

HEX#9766D8
RGBrgb(151, 102, 216)
HSLhsl(266, 59%, 62%)
OKLCHoklch(61.3% 0.17 301.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 #9766D8 4.03:1 AA large text Lc -72.8 Content text, not long reading
Black text on #9766D8 5.20:1 AA Lc 36.8 Non-text elements, placeholder text
#9766D8 text on white 4.03:1 AA large text Lc 67.3 Content text, not long reading
#9766D8 text on black 5.20:1 AA Lc -34.4 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #ECE6F8

    oklch(93.5% 0.025 301.1)

  3. Step 200

    200

    #DED3F3

    oklch(88.6% 0.045 301.1)

  4. Step 300

    300

    #CAB4EE

    oklch(80.8% 0.084 301.9)

  5. Step 400

    400

    #AF8BE6

    oklch(70.6% 0.134 301.3)

  6. Step 500

    500 (this color)

    #9766D8

    oklch(61.3% 0.17 301.4)

  7. Step 600

    600

    #8850CC

    oklch(55.6% 0.186 301.4)

  8. Step 700

    700

    #7340B0

    oklch(49% 0.172 301.2)

  9. Step 800

    800

    #5E368F

    oklch(42.8% 0.142 301.3)

  10. Step 900

    900

    #4D3072

    oklch(37.8% 0.111 301.6)

  11. Step 950

    950

    #2D1D43

    oklch(27.1% 0.07 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#9766D8 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)#3D7EDC0.123
Deuteranopia (no green cones)#4C7ED50.113
Tritanopia (no blue cones)#8A7C950.130
Achromatopsia (no color)#7E7E7E0.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #9766D8

    #9766D8

    oklch(61.3% 0.17 301.4)

  • #779000

    #779000

    oklch(61.2% 0.147 121.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9766D8

    #9766D8

    oklch(61.3% 0.17 301.4)

  • #6179E9

    #6179E9

    oklch(61.4% 0.17 271.5)

  • #BC57B1

    #BC57B1

    oklch(61.3% 0.17 331.7)

Open the analogous palette in the generator

Split complementary

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

  • #9766D8

    #9766D8

    oklch(61.3% 0.17 301.4)

  • #A08000

    #A08000

    oklch(61.3% 0.125 91.1)

  • #009E4E

    #009E4E

    oklch(61.2% 0.163 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9766D8

    #9766D8

    oklch(61.3% 0.17 301.4)

  • #BF6C00

    #BF6C00

    oklch(61.2% 0.142 61.2)

  • #009988

    #009988

    oklch(61.2% 0.11 181.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9766D8

    #9766D8

    oklch(61.3% 0.17 301.4)

  • #D7533E

    #D7533E

    oklch(61.4% 0.17 31.4)

  • #779000

    #779000

    oklch(61.2% 0.147 121.1)

  • #0094A8

    #0094A8

    oklch(61.1% 0.106 211.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9766D8.

Similar named colors

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

Use #9766D8 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.