#9D5CEB

Closest named color: Lighter Purple (#A55AF4). oklch(61.6% 0.208 301.5), rgb(157, 92, 235).

Aa

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

About this color

#9D5CEB is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.208 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.019 away. Black text reads best on it, at 5.16:1.

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.208)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.16:1
White text4.06:1

Values

HEX#9D5CEB
RGBrgb(157, 92, 235)
HSLhsl(267, 78%, 64%)
OKLCHoklch(61.6% 0.208 301.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 #9D5CEB 4.06:1 AA large text Lc -72.9 Content text, not long reading
Black text on #9D5CEB 5.16:1 AA Lc 36.7 Non-text elements, placeholder text
#9D5CEB text on white 4.06:1 AA large text Lc 67.4 Content text, not long reading
#9D5CEB text on black 5.16:1 AA Lc -34.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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1F9

    oklch(88.5% 0.056 301.2)

  4. Step 300

    300

    #CCB1F8

    oklch(80.8% 0.102 301.6)

  5. Step 400

    400

    #B385F5

    oklch(70.7% 0.164 301.3)

  6. Step 500

    500 (this color)

    #9D5CEB

    oklch(61.6% 0.208 301.5)

  7. Step 600

    600

    #8D41DF

    oklch(55.6% 0.226 301.2)

  8. Step 700

    700

    #7831C1

    oklch(49.1% 0.21 301.3)

  9. Step 800

    800

    #622B9C

    oklch(42.7% 0.173 301.6)

  10. Step 900

    900

    #50297C

    oklch(37.8% 0.135 301.8)

  11. Step 950

    950

    #2E1949

    oklch(26.9% 0.086 300.9)

Export this scale for Tailwind in the Tailwind colors tool

#9D5CEB 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)#007DF00.161
Deuteranopia (no green cones)#2D7DE80.149
Tritanopia (no blue cones)#8D7A9B0.156
Achromatopsia (no color)#7E7E7E0.209

Harmonies

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

Complementary

The opposite hue (180°).

  • #9D5CEB

    #9D5CEB

    oklch(61.6% 0.208 301.5)

  • #779200

    #779200

    oklch(61.7% 0.149 121.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9D5CEB

    #9D5CEB

    oklch(61.6% 0.208 301.5)

  • #5B74FF

    #5B74FF

    oklch(61.6% 0.207 271.3)

  • #C748BC

    #C748BC

    oklch(61.6% 0.207 331.4)

Open the analogous palette in the generator

Split complementary

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

  • #9D5CEB

    #9D5CEB

    oklch(61.6% 0.208 301.5)

  • #A18100

    #A18100

    oklch(61.6% 0.126 91.2)

  • #009F4F

    #009F4F

    oklch(61.5% 0.163 151.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9D5CEB

    #9D5CEB

    oklch(61.6% 0.208 301.5)

  • #C06D00

    #C06D00

    oklch(61.5% 0.142 61.4)

  • #009A89

    #009A89

    oklch(61.5% 0.111 181.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9D5CEB

    #9D5CEB

    oklch(61.6% 0.208 301.5)

  • #E73F26

    #E73F26

    oklch(61.6% 0.208 31.5)

  • #779200

    #779200

    oklch(61.7% 0.149 121.8)

  • #0095AA

    #0095AA

    oklch(61.5% 0.107 212.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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