#9D7FE6

Closest named color: Perrywinkle (#8F8CE7). oklch(66.8% 0.15 295.5), rgb(157, 127, 230).

Aa

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

About this color

#9D7FE6 is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.150 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Perrywinkle (#8F8CE7), ΔE 0.036 away. Black text reads best on it, at 6.61:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.150)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text6.61:1
White text3.17:1

Values

HEX#9D7FE6
RGBrgb(157, 127, 230)
HSLhsl(257, 67%, 70%)
OKLCHoklch(66.8% 0.15 295.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 #9D7FE6 3.17:1 AA large text Lc -64.2 Content text, not long reading
Black text on #9D7FE6 6.61:1 AA Lc 45.3 Large or bold text, headings
#9D7FE6 text on white 3.17:1 AA large text Lc 58.8 Large or bold text, headings
#9D7FE6 text on black 6.61:1 AA Lc -43.0 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DBD4F2

    oklch(88.5% 0.041 296.2)

  4. Step 300

    300

    #C4B8EC

    oklch(81% 0.073 295.3)

  5. Step 400

    400

    #A691E2

    oklch(70.7% 0.118 295.1)

  6. Step 500

    500 (this color)

    #9D7FE6

    oklch(66.8% 0.15 295.5)

  7. Step 600

    600

    #7D5AC7

    oklch(55.7% 0.163 295.4)

  8. Step 700

    700

    #6A49AC

    oklch(49.2% 0.152 295.7)

  9. Step 800

    800

    #563C8B

    oklch(42.6% 0.126 295.7)

  10. Step 900

    900

    #47346F

    oklch(37.6% 0.099 296.2)

  11. Step 950

    950

    #291F41

    oklch(26.9% 0.062 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#9D7FE6 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)#5E91EA0.088
Deuteranopia (no green cones)#648FE30.083
Tritanopia (no blue cones)#8D92A70.121
Achromatopsia (no color)#9090900.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D7FE6

    #9D7FE6

    oklch(66.8% 0.15 295.5)

  • #929F08

    #929F08

    oklch(66.9% 0.151 115.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D7FE6

    #9D7FE6

    oklch(66.8% 0.15 295.5)

  • #6890F1

    #6890F1

    oklch(66.9% 0.151 265.6)

  • #C371C6

    #C371C6

    oklch(66.9% 0.15 325.8)

Open the analogous palette in the generator

Split complementary

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

  • #9D7FE6

    #9D7FE6

    oklch(66.8% 0.15 295.5)

  • #BA8D00

    #BA8D00

    oklch(66.8% 0.137 85.8)

  • #4FAC58

    #4FAC58

    oklch(66.8% 0.149 145.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D7FE6

    #9D7FE6

    oklch(66.8% 0.15 295.5)

  • #D97825

    #D97825

    oklch(66.9% 0.15 55.5)

  • #00AD91

    #00AD91

    oklch(66.8% 0.125 175.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D7FE6

    #9D7FE6

    oklch(66.8% 0.15 295.5)

  • #E26B63

    #E26B63

    oklch(66.8% 0.15 25.8)

  • #929F08

    #929F08

    oklch(66.9% 0.151 115.5)

  • #00A8B6

    #00A8B6

    oklch(66.8% 0.114 205.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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