#9F5BEA

Closest named color: Lighter Purple (#A55AF4). oklch(61.6% 0.209 302.6), rgb(159, 91, 234).

Aa

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

About this color

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

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

Values

HEX#9F5BEA
RGBrgb(159, 91, 234)
HSLhsl(269, 77%, 64%)
OKLCHoklch(61.6% 0.209 302.6)

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 #9F5BEA 4.07:1 AA large text Lc -72.9 Content text, not long reading
Black text on #9F5BEA 5.15:1 AA Lc 36.7 Non-text elements, placeholder text
#9F5BEA text on white 4.07:1 AA large text Lc 67.4 Content text, not long reading
#9F5BEA text on black 5.15: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

    #E0D1F9

    oklch(88.5% 0.057 302.3)

  4. Step 300

    300

    #CDB1F8

    oklch(80.9% 0.102 302.2)

  5. Step 400

    400

    #B584F4

    oklch(70.7% 0.164 302.6)

  6. Step 500

    500 (this color)

    #9F5BEA

    oklch(61.6% 0.209 302.6)

  7. Step 600

    600

    #8F40DE

    oklch(55.6% 0.227 302.3)

  8. Step 700

    700

    #7A2FC0

    oklch(49% 0.211 302.6)

  9. Step 800

    800

    #632A9C

    oklch(42.8% 0.175 302.3)

  10. Step 900

    900

    #51287C

    oklch(37.7% 0.137 302.7)

  11. Step 950

    950

    #2F1948

    oklch(27% 0.085 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#9F5BEA 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)#007DEF0.165
Deuteranopia (no green cones)#307DE70.152
Tritanopia (no blue cones)#90799A0.155
Achromatopsia (no color)#7E7E7E0.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F5BEA

    #9F5BEA

    oklch(61.6% 0.209 302.6)

  • #759200

    #759200

    oklch(61.5% 0.15 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F5BEA

    #9F5BEA

    oklch(61.6% 0.209 302.6)

  • #5F73FF

    #5F73FF

    oklch(61.6% 0.207 272.7)

  • #C947BA

    #C947BA

    oklch(61.7% 0.208 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #9F5BEA

    #9F5BEA

    oklch(61.6% 0.209 302.6)

  • #A08200

    #A08200

    oklch(61.7% 0.126 92.5)

  • #009F53

    #009F53

    oklch(61.6% 0.16 152.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F5BEA

    #9F5BEA

    oklch(61.6% 0.209 302.6)

  • #BF6E00

    #BF6E00

    oklch(61.5% 0.141 62.4)

  • #009A8B

    #009A8B

    oklch(61.6% 0.11 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F5BEA

    #9F5BEA

    oklch(61.6% 0.209 302.6)

  • #E74020

    #E74020

    oklch(61.6% 0.208 32.8)

  • #759200

    #759200

    oklch(61.5% 0.15 122.6)

  • #0095AB

    #0095AB

    oklch(61.5% 0.108 212.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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