#9A7DDE

Closest named color: Medium Purple (#9370DB). oklch(65.8% 0.143 296), rgb(154, 125, 222).

Aa

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

About this color

#9A7DDE is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.143 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.034 away. Black text reads best on it, at 6.36:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.143)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.36:1
White text3.30:1

Values

HEX#9A7DDE
RGBrgb(154, 125, 222)
HSLhsl(258, 60%, 68%)
OKLCHoklch(65.8% 0.143 296)

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 #9A7DDE 3.30:1 AA large text Lc -65.7 Content text, not long reading
Black text on #9A7DDE 6.36:1 AA Lc 43.8 Non-text elements, placeholder text
#9A7DDE text on white 3.30:1 AA large text Lc 60.2 Content text, not long reading
#9A7DDE text on black 6.36:1 AA Lc -41.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

    #EBE7F6

    oklch(93.5% 0.021 298.2)

  3. Step 200

    200

    #DBD4F0

    oklch(88.4% 0.039 297)

  4. Step 300

    300

    #C4B8E9

    oklch(80.9% 0.069 296)

  5. Step 400

    400

    #A792DE

    oklch(70.8% 0.111 296.2)

  6. Step 500

    500 (this color)

    #9A7DDE

    oklch(65.8% 0.143 296)

  7. Step 600

    600

    #7D5BC2

    oklch(55.5% 0.155 296.2)

  8. Step 700

    700

    #6A4BA8

    oklch(49.2% 0.144 296.1)

  9. Step 800

    800

    #563E88

    oklch(42.8% 0.119 295.9)

  10. Step 900

    900

    #47356D

    oklch(37.7% 0.094 296.4)

  11. Step 950

    950

    #292040

    oklch(27.1% 0.059 295.2)

Export this scale for Tailwind in the Tailwind colors tool

#9A7DDE 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)#5F8EE20.084
Deuteranopia (no green cones)#648CDC0.079
Tritanopia (no blue cones)#8B8FA30.115
Achromatopsia (no color)#8D8D8D0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A7DDE

    #9A7DDE

    oklch(65.8% 0.143 296)

  • #8E9B1B

    #8E9B1B

    oklch(65.7% 0.142 115.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A7DDE

    #9A7DDE

    oklch(65.8% 0.143 296)

  • #688DE8

    #688DE8

    oklch(65.7% 0.142 265.9)

  • #BD70C0

    #BD70C0

    oklch(65.7% 0.142 325.7)

Open the analogous palette in the generator

Split complementary

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

  • #9A7DDE

    #9A7DDE

    oklch(65.8% 0.143 296)

  • #B68A00

    #B68A00

    oklch(65.8% 0.135 85.9)

  • #4FA859

    #4FA859

    oklch(65.7% 0.143 146)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A7DDE

    #9A7DDE

    oklch(65.8% 0.143 296)

  • #D2772A

    #D2772A

    oklch(65.8% 0.143 56)

  • #00A98F

    #00A98F

    oklch(65.7% 0.122 176.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A7DDE

    #9A7DDE

    oklch(65.8% 0.143 296)

  • #DB6B62

    #DB6B62

    oklch(65.8% 0.142 26.3)

  • #8E9B1B

    #8E9B1B

    oklch(65.7% 0.142 115.7)

  • #00A4B3

    #00A4B3

    oklch(65.6% 0.112 206.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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