#9D7EE3

Closest named color: Perrywinkle (#8F8CE7). oklch(66.5% 0.148 296.3), rgb(157, 126, 227).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.148)
Temperaturein between
Nearest namePerrywinkle (#8F8CE7)
Black text6.52:1
White text3.21:1

Values

HEX#9D7EE3
RGBrgb(157, 126, 227)
HSLhsl(258, 64%, 69%)
OKLCHoklch(66.5% 0.148 296.3)

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 #9D7EE3 3.21:1 AA large text Lc -64.7 Content text, not long reading
Black text on #9D7EE3 6.52:1 AA Lc 44.8 Non-text elements, placeholder text
#9D7EE3 text on white 3.21:1 AA large text Lc 59.3 Large or bold text, headings
#9D7EE3 text on black 6.52:1 AA Lc -42.5 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F7

    oklch(93.6% 0.022 297.4)

  3. Step 200

    200

    #DBD4F1

    oklch(88.4% 0.04 296.6)

  4. Step 300

    300

    #C4B8EB

    oklch(81% 0.072 295.5)

  5. Step 400

    400

    #A791E0

    oklch(70.7% 0.115 296.1)

  6. Step 500

    500 (this color)

    #9D7EE3

    oklch(66.5% 0.148 296.3)

  7. Step 600

    600

    #7E5AC5

    oklch(55.6% 0.161 296.3)

  8. Step 700

    700

    #6A49AA

    oklch(49% 0.15 296.1)

  9. Step 800

    800

    #573D8A

    oklch(42.8% 0.124 296.4)

  10. Step 900

    900

    #47356E

    oklch(37.8% 0.095 296.1)

  11. Step 950

    950

    #291F41

    oklch(26.9% 0.062 295.5)

Export this scale for Tailwind in the Tailwind colors tool

#9D7EE3 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)#5F90E70.088
Deuteranopia (no green cones)#648EE10.083
Tritanopia (no blue cones)#8E91A60.119
Achromatopsia (no color)#8F8F8F0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D7EE3

    #9D7EE3

    oklch(66.5% 0.148 296.3)

  • #8F9E12

    #8F9E12

    oklch(66.5% 0.148 116.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D7EE3

    #9D7EE3

    oklch(66.5% 0.148 296.3)

  • #698FEE

    #698FEE

    oklch(66.5% 0.148 266.1)

  • #C270C3

    #C270C3

    oklch(66.5% 0.148 326.7)

Open the analogous palette in the generator

Split complementary

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

  • #9D7EE3

    #9D7EE3

    oklch(66.5% 0.148 296.3)

  • #B88C00

    #B88C00

    oklch(66.4% 0.136 86.2)

  • #4DAB59

    #4DAB59

    oklch(66.4% 0.148 146.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D7EE3

    #9D7EE3

    oklch(66.5% 0.148 296.3)

  • #D67825

    #D67825

    oklch(66.5% 0.148 56.4)

  • #00AC91

    #00AC91

    oklch(66.5% 0.124 176.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D7EE3

    #9D7EE3

    oklch(66.5% 0.148 296.3)

  • #E06B62

    #E06B62

    oklch(66.5% 0.148 26.3)

  • #8F9E12

    #8F9E12

    oklch(66.5% 0.148 116.4)

  • #00A7B6

    #00A7B6

    oklch(66.5% 0.114 206.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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