#9771EA

Closest named color: Medium Purple (#9370DB). oklch(64.1% 0.176 295.5), rgb(151, 113, 234).

Aa

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

About this color

#9771EA is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.176 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.023 away. Black text reads best on it, at 5.86:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.176)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.86:1
White text3.57:1

Values

HEX#9771EA
RGBrgb(151, 113, 234)
HSLhsl(259, 74%, 68%)
OKLCHoklch(64.1% 0.176 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 #9771EA 3.57:1 AA large text Lc -68.6 Content text, not long reading
Black text on #9771EA 5.86:1 AA Lc 40.9 Non-text elements, placeholder text
#9771EA text on white 3.57:1 AA large text Lc 63.1 Content text, not long reading
#9771EA text on black 5.86:1 AA Lc -38.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DBD3F6

    oklch(88.4% 0.048 295.9)

  4. Step 300

    300

    #C5B6F3

    oklch(81% 0.086 295.7)

  5. Step 400

    400

    #A88DED

    oklch(70.7% 0.139 295.6)

  6. Step 500

    500 (this color)

    #9771EA

    oklch(64.1% 0.176 295.5)

  7. Step 600

    600

    #7F52D4

    oklch(55.5% 0.191 295.4)

  8. Step 700

    700

    #6C42B8

    oklch(49.2% 0.177 295.5)

  9. Step 800

    800

    #583795

    oklch(42.7% 0.147 295.7)

  10. Step 900

    900

    #483177

    oklch(37.8% 0.115 295.5)

  11. Step 950

    950

    #2A1D46

    oklch(27% 0.074 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#9771EA 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)#4188EE0.112
Deuteranopia (no green cones)#4A86E70.106
Tritanopia (no blue cones)#8389A30.140
Achromatopsia (no color)#8787870.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #9771EA

    #9771EA

    oklch(64.1% 0.176 295.5)

  • #8A9600

    #8A9600

    oklch(64.1% 0.146 115.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9771EA

    #9771EA

    oklch(64.1% 0.176 295.5)

  • #5885F6

    #5885F6

    oklch(64.1% 0.176 265.4)

  • #C160C6

    #C160C6

    oklch(64.2% 0.177 325.5)

Open the analogous palette in the generator

Split complementary

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

  • #9771EA

    #9771EA

    oklch(64.1% 0.176 295.5)

  • #B08500

    #B08500

    oklch(64.1% 0.131 85.6)

  • #2FA741

    #2FA741

    oklch(64.1% 0.176 145.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9771EA

    #9771EA

    oklch(64.1% 0.176 295.5)

  • #D36D00

    #D36D00

    oklch(64.1% 0.158 55.2)

  • #00A489

    #00A489

    oklch(64.2% 0.121 175.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9771EA

    #9771EA

    oklch(64.1% 0.176 295.5)

  • #E45752

    #E45752

    oklch(64.2% 0.177 25.4)

  • #8A9600

    #8A9600

    oklch(64.1% 0.146 115.3)

  • #009FAD

    #009FAD

    oklch(64.1% 0.11 205.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9771EA.

Similar named colors

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

Use #9771EA 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.