#9E7EE4

Closest named color: Perrywinkle (#8F8CE7). oklch(66.6% 0.149 296.6), rgb(158, 126, 228).

Aa

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

About this color

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

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

Values

HEX#9E7EE4
RGBrgb(158, 126, 228)
HSLhsl(259, 65%, 69%)
OKLCHoklch(66.6% 0.149 296.6)

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 #9E7EE4 3.20:1 AA large text Lc -64.5 Content text, not long reading
Black text on #9E7EE4 6.55:1 AA Lc 45.0 Non-text elements, placeholder text
#9E7EE4 text on white 3.20:1 AA large text Lc 59.1 Large or bold text, headings
#9E7EE4 text on black 6.55:1 AA Lc -42.7 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

    #C5B7EB

    oklch(80.9% 0.074 297.1)

  5. Step 400

    400

    #A891E1

    oklch(70.8% 0.117 296.5)

  6. Step 500

    500 (this color)

    #9E7EE4

    oklch(66.6% 0.149 296.6)

  7. Step 600

    600

    #7E59C5

    oklch(55.5% 0.162 296.5)

  8. Step 700

    700

    #6B49AB

    oklch(49.2% 0.151 296.4)

  9. Step 800

    800

    #573C8A

    oklch(42.7% 0.125 296.7)

  10. Step 900

    900

    #47346E

    oklch(37.6% 0.097 296.6)

  11. Step 950

    950

    #2A1F41

    oklch(27% 0.062 297)

Export this scale for Tailwind in the Tailwind colors tool

#9E7EE4 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)#5E90E80.090
Deuteranopia (no green cones)#648FE10.085
Tritanopia (no blue cones)#8F91A60.120
Achromatopsia (no color)#9090900.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E7EE4

    #9E7EE4

    oklch(66.6% 0.149 296.6)

  • #8F9F10

    #8F9F10

    oklch(66.7% 0.15 116.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E7EE4

    #9E7EE4

    oklch(66.6% 0.149 296.6)

  • #6A8FEF

    #6A8FEF

    oklch(66.7% 0.149 266.5)

  • #C370C4

    #C370C4

    oklch(66.6% 0.15 326.7)

Open the analogous palette in the generator

Split complementary

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

  • #9E7EE4

    #9E7EE4

    oklch(66.6% 0.149 296.6)

  • #B88D00

    #B88D00

    oklch(66.6% 0.136 86.8)

  • #4BAC5A

    #4BAC5A

    oklch(66.6% 0.15 146.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E7EE4

    #9E7EE4

    oklch(66.6% 0.149 296.6)

  • #D77822

    #D77822

    oklch(66.6% 0.149 56.6)

  • #00AC92

    #00AC92

    oklch(66.5% 0.124 176.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E7EE4

    #9E7EE4

    oklch(66.6% 0.149 296.6)

  • #E16B61

    #E16B61

    oklch(66.7% 0.149 26.8)

  • #8F9F10

    #8F9F10

    oklch(66.7% 0.15 116.8)

  • #00A7B7

    #00A7B7

    oklch(66.6% 0.114 206.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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