#9D66D4

Closest named color: Medium Purple (#9370DB). oklch(61.6% 0.167 305.1), rgb(157, 102, 212).

Aa

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

About this color

#9D66D4 is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.167 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.028 away. Black text reads best on it, at 5.28:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.167)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.28:1
White text3.97:1

Values

HEX#9D66D4
RGBrgb(157, 102, 212)
HSLhsl(270, 56%, 62%)
OKLCHoklch(61.6% 0.167 305.1)

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 #9D66D4 3.97:1 AA large text Lc -72.3 Content text, not long reading
Black text on #9D66D4 5.28:1 AA Lc 37.3 Non-text elements, placeholder text
#9D66D4 text on white 3.97:1 AA large text Lc 66.8 Content text, not long reading
#9D66D4 text on black 5.28:1 AA Lc -34.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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F7

    oklch(93.5% 0.024 304.5)

  3. Step 200

    200

    #E0D2F2

    oklch(88.5% 0.046 305.2)

  4. Step 300

    300

    #CDB4EB

    oklch(81% 0.081 305.4)

  5. Step 400

    400

    #B48AE1

    oklch(70.6% 0.131 305.5)

  6. Step 500

    500 (this color)

    #9D66D4

    oklch(61.6% 0.167 305.1)

  7. Step 600

    600

    #8D4FC6

    oklch(55.6% 0.181 305.3)

  8. Step 700

    700

    #783FAB

    oklch(49.1% 0.168 305.3)

  9. Step 800

    800

    #61358B

    oklch(42.7% 0.14 304.8)

  10. Step 900

    900

    #4F2F6F

    oklch(37.6% 0.109 304.8)

  11. Step 950

    950

    #2E1C41

    oklch(26.9% 0.069 304.6)

Export this scale for Tailwind in the Tailwind colors tool

#9D66D4 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)#437ED80.127
Deuteranopia (no green cones)#5480D10.116
Tritanopia (no blue cones)#947A930.124
Achromatopsia (no color)#8080800.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D66D4

    #9D66D4

    oklch(61.6% 0.167 305.1)

  • #709400

    #709400

    oklch(61.7% 0.155 125)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D66D4

    #9D66D4

    oklch(61.6% 0.167 305.1)

  • #6A78E7

    #6A78E7

    oklch(61.6% 0.166 275)

  • #BF58AC

    #BF58AC

    oklch(61.6% 0.166 335)

Open the analogous palette in the generator

Split complementary

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

  • #9D66D4

    #9D66D4

    oklch(61.6% 0.167 305.1)

  • #9D8300

    #9D8300

    oklch(61.6% 0.126 94.9)

  • #009F5B

    #009F5B

    oklch(61.7% 0.152 155.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D66D4

    #9D66D4

    oklch(61.6% 0.167 305.1)

  • #BC7100

    #BC7100

    oklch(61.7% 0.138 65.6)

  • #009A8E

    #009A8E

    oklch(61.7% 0.109 185.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D66D4

    #9D66D4

    oklch(61.6% 0.167 305.1)

  • #D65738

    #D65738

    oklch(61.6% 0.167 34.9)

  • #709400

    #709400

    oklch(61.7% 0.155 125)

  • #0095AE

    #0095AE

    oklch(61.7% 0.109 215.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9D66D4.

Similar named colors

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

Use #9D66D4 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.