#9B5FE4

Closest named color: Lighter Purple (#A55AF4). oklch(61.4% 0.196 301.7), rgb(155, 95, 228).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.196)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.15:1
White text4.07:1

Values

HEX#9B5FE4
RGBrgb(155, 95, 228)
HSLhsl(267, 71%, 63%)
OKLCHoklch(61.4% 0.196 301.7)

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 #9B5FE4 4.07:1 AA large text Lc -73.0 Content text, not long reading
Black text on #9B5FE4 5.15:1 AA Lc 36.5 Non-text elements, placeholder text
#9B5FE4 text on white 4.07:1 AA large text Lc 67.5 Content text, not long reading
#9B5FE4 text on black 5.15:1 AA Lc -34.1 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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #DFD2F7

    oklch(88.6% 0.052 301.3)

  4. Step 300

    300

    #CCB2F5

    oklch(80.9% 0.097 302.1)

  5. Step 400

    400

    #B287EF

    oklch(70.6% 0.153 301.7)

  6. Step 500

    500 (this color)

    #9B5FE4

    oklch(61.4% 0.196 301.7)

  7. Step 600

    600

    #8C46D8

    oklch(55.5% 0.213 301.8)

  8. Step 700

    700

    #7736BB

    oklch(49% 0.198 301.8)

  9. Step 800

    800

    #612F98

    oklch(42.8% 0.164 301.6)

  10. Step 900

    900

    #4F2B79

    oklch(37.7% 0.128 301.8)

  11. Step 950

    950

    #2E1A47

    oklch(27% 0.082 301.7)

Export this scale for Tailwind in the Tailwind colors tool

#9B5FE4 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)#1C7DE80.151
Deuteranopia (no green cones)#3A7DE10.137
Tritanopia (no blue cones)#8C7A990.146
Achromatopsia (no color)#7E7E7E0.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B5FE4

    #9B5FE4

    oklch(61.4% 0.196 301.7)

  • #769100

    #769100

    oklch(61.3% 0.149 121.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B5FE4

    #9B5FE4

    oklch(61.4% 0.196 301.7)

  • #5D75F8

    #5D75F8

    oklch(61.4% 0.196 271.6)

  • #C34DB8

    #C34DB8

    oklch(61.4% 0.195 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #9B5FE4

    #9B5FE4

    oklch(61.4% 0.196 301.7)

  • #A08100

    #A08100

    oklch(61.5% 0.126 91.8)

  • #009E4F

    #009E4F

    oklch(61.2% 0.162 151.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B5FE4

    #9B5FE4

    oklch(61.4% 0.196 301.7)

  • #BF6D00

    #BF6D00

    oklch(61.4% 0.141 61.8)

  • #009989

    #009989

    oklch(61.3% 0.11 182.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B5FE4

    #9B5FE4

    oklch(61.4% 0.196 301.7)

  • #E1462E

    #E1462E

    oklch(61.3% 0.196 31.6)

  • #769100

    #769100

    oklch(61.3% 0.149 121.9)

  • #0095A9

    #0095A9

    oklch(61.4% 0.107 211.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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