#9D81EA

Closest named color: Perrywinkle (#8F8CE7). oklch(67.4% 0.153 294.2), rgb(157, 129, 234).

Aa

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

About this color

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

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

Values

HEX#9D81EA
RGBrgb(157, 129, 234)
HSLhsl(256, 71%, 71%)
OKLCHoklch(67.4% 0.153 294.2)

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 #9D81EA 3.10:1 AA large text Lc -63.3 Content text, not long reading
Black text on #9D81EA 6.76:1 AA Lc 46.2 Large or bold text, headings
#9D81EA text on white 3.10:1 AA large text Lc 57.9 Large or bold text, headings
#9D81EA text on black 6.76:1 AA Lc -43.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 400.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DBD3F9

    oklch(88.5% 0.052 295)

  4. Step 300

    300

    #C4B5F9

    oklch(80.9% 0.096 294.3)

  5. Step 400

    400 (this color)

    #9D81EA

    oklch(67.4% 0.153 294.2)

  6. Step 500

    500

    #936AF1

    oklch(63.1% 0.195 294.1)

  7. Step 600

    600

    #7F4DE0

    oklch(55.7% 0.212 294.1)

  8. Step 700

    700

    #6C3CC2

    oklch(49.1% 0.197 294.4)

  9. Step 800

    800

    #57339D

    oklch(42.6% 0.163 294)

  10. Step 900

    900

    #472E7D

    oklch(37.6% 0.128 293.9)

  11. Step 950

    950

    #2A1C49

    oklch(27% 0.081 294.8)

Export this scale for Tailwind in the Tailwind colors tool

#9D81EA 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)#5F93EE0.086
Deuteranopia (no green cones)#6391E70.083
Tritanopia (no blue cones)#8B95AA0.125
Achromatopsia (no color)#9292920.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D81EA

    #9D81EA

    oklch(67.4% 0.153 294.2)

  • #96A000

    #96A000

    oklch(67.5% 0.152 114.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D81EA

    #9D81EA

    oklch(67.4% 0.153 294.2)

  • #6692F4

    #6692F4

    oklch(67.3% 0.153 264.4)

  • #C473CB

    #C473CB

    oklch(67.5% 0.152 324.2)

Open the analogous palette in the generator

Split complementary

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

  • #9D81EA

    #9D81EA

    oklch(67.4% 0.153 294.2)

  • #BE8E00

    #BE8E00

    oklch(67.5% 0.138 84.4)

  • #53AE56

    #53AE56

    oklch(67.4% 0.152 144.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D81EA

    #9D81EA

    oklch(67.4% 0.153 294.2)

  • #DC7827

    #DC7827

    oklch(67.3% 0.152 54.2)

  • #00AF91

    #00AF91

    oklch(67.3% 0.127 174.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D81EA

    #9D81EA

    oklch(67.4% 0.153 294.2)

  • #E56B67

    #E56B67

    oklch(67.3% 0.153 23.9)

  • #96A000

    #96A000

    oklch(67.5% 0.152 114.2)

  • #00AAB7

    #00AAB7

    oklch(67.3% 0.115 204.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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