#9E6DCD

Closest named color: Medium Purple (#9370DB). oklch(62.5% 0.147 306.1), rgb(158, 109, 205).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.147)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.52:1
White text3.80:1

Values

HEX#9E6DCD
RGBrgb(158, 109, 205)
HSLhsl(271, 49%, 62%)
OKLCHoklch(62.5% 0.147 306.1)

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 #9E6DCD 3.80:1 AA large text Lc -70.8 Content text, not long reading
Black text on #9E6DCD 5.52:1 AA Lc 38.7 Non-text elements, placeholder text
#9E6DCD text on white 3.80:1 AA large text Lc 65.3 Content text, not long reading
#9E6DCD text on black 5.52:1 AA Lc -36.3 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F5

    oklch(93.7% 0.02 305.3)

  3. Step 200

    200

    #E0D3EF

    oklch(88.6% 0.04 306.5)

  4. Step 300

    300

    #CCB5E6

    oklch(80.9% 0.072 306.1)

  5. Step 400

    400

    #B38DD9

    oklch(70.7% 0.115 306.6)

  6. Step 500

    500 (this color)

    #9E6DCD

    oklch(62.5% 0.147 306.1)

  7. Step 600

    600

    #8B55BC

    oklch(55.6% 0.16 306.1)

  8. Step 700

    700

    #7644A2

    oklch(49% 0.15 306.2)

  9. Step 800

    800

    #603983

    oklch(42.7% 0.123 306.2)

  10. Step 900

    900

    #4E3269

    oklch(37.7% 0.095 305.8)

  11. Step 950

    950

    #2E1E3E

    oklch(27.1% 0.061 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#9E6DCD 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)#5481D00.109
Deuteranopia (no green cones)#6083CB0.100
Tritanopia (no blue cones)#977D930.109
Achromatopsia (no color)#8383830.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E6DCD

    #9E6DCD

    oklch(62.5% 0.147 306.1)

  • #71971F

    #71971F

    oklch(62.6% 0.148 126.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E6DCD

    #9E6DCD

    oklch(62.5% 0.147 306.1)

  • #717DDF

    #717DDF

    oklch(62.5% 0.147 276)

  • #BD61A9

    #BD61A9

    oklch(62.5% 0.147 336)

Open the analogous palette in the generator

Split complementary

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

  • #9E6DCD

    #9E6DCD

    oklch(62.5% 0.147 306.1)

  • #9F8600

    #9F8600

    oklch(62.5% 0.128 95.8)

  • #11A161

    #11A161

    oklch(62.5% 0.147 156.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E6DCD

    #9E6DCD

    oklch(62.5% 0.147 306.1)

  • #BF7400

    #BF7400

    oklch(62.6% 0.139 66.4)

  • #009D92

    #009D92

    oklch(62.6% 0.11 186.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E6DCD

    #9E6DCD

    oklch(62.5% 0.147 306.1)

  • #D06244

    #D06244

    oklch(62.4% 0.147 36.2)

  • #71971F

    #71971F

    oklch(62.6% 0.148 126.3)

  • #0098B2

    #0098B2

    oklch(62.6% 0.111 215.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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