#9E5CD9

Closest named color: Amethyst (#9B5FC0). oklch(60.5% 0.188 305.9), rgb(158, 92, 217).

Aa

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

About this color

#9E5CD9 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.188 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.040 away. Black text reads best on it, at 4.98:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.188)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.98:1
White text4.21:1

Values

HEX#9E5CD9
RGBrgb(158, 92, 217)
HSLhsl(272, 62%, 61%)
OKLCHoklch(60.5% 0.188 305.9)

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 #9E5CD9 4.21:1 AA large text Lc -74.1 Content text, not long reading
Black text on #9E5CD9 4.98:1 AA Lc 35.5 Non-text elements, placeholder text
#9E5CD9 text on white 4.21:1 AA large text Lc 68.6 Content text, not long reading
#9E5CD9 text on black 4.98:1 AA Lc -33.0 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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E1D1F5

    oklch(88.5% 0.052 305.4)

  4. Step 300

    300

    #CFB2F0

    oklch(81% 0.091 305.8)

  5. Step 400

    400

    #B786E9

    oklch(70.6% 0.148 305.8)

  6. Step 500

    500 (this color)

    #9E5CD9

    oklch(60.5% 0.188 305.9)

  7. Step 600

    600

    #9146CF

    oklch(55.5% 0.204 305.9)

  8. Step 700

    700

    #7C37B4

    oklch(49.2% 0.19 305.8)

  9. Step 800

    800

    #652F91

    oklch(42.8% 0.157 306.1)

  10. Step 900

    900

    #522B74

    oklch(37.7% 0.123 306)

  11. Step 950

    950

    #301A44

    oklch(27% 0.078 306)

Export this scale for Tailwind in the Tailwind colors tool

#9E5CD9 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)#2979DD0.153
Deuteranopia (no green cones)#457CD60.138
Tritanopia (no blue cones)#9474920.136
Achromatopsia (no color)#7B7B7B0.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E5CD9

    #9E5CD9

    oklch(60.5% 0.188 305.9)

  • #6B9100

    #6B9100

    oklch(60.6% 0.154 125.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E5CD9

    #9E5CD9

    oklch(60.5% 0.188 305.9)

  • #6771EF

    #6771EF

    oklch(60.6% 0.187 275.9)

  • #C34BAC

    #C34BAC

    oklch(60.6% 0.189 335.9)

Open the analogous palette in the generator

Split complementary

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

  • #9E5CD9

    #9E5CD9

    oklch(60.5% 0.188 305.9)

  • #988000

    #988000

    oklch(60.4% 0.124 95.8)

  • #009B5B

    #009B5B

    oklch(60.6% 0.147 156)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E5CD9

    #9E5CD9

    oklch(60.5% 0.188 305.9)

  • #B76E00

    #B76E00

    oklch(60.5% 0.135 65.7)

  • #00968B

    #00968B

    oklch(60.6% 0.106 185.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E5CD9

    #9E5CD9

    oklch(60.5% 0.188 305.9)

  • #DB4A20

    #DB4A20

    oklch(60.6% 0.189 35.9)

  • #6B9100

    #6B9100

    oklch(60.6% 0.154 125.9)

  • #0091AB

    #0091AB

    oklch(60.5% 0.108 216.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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