#9F5BEC

Closest named color: Lighter Purple (#A55AF4). oklch(61.7% 0.211 302.2), rgb(159, 91, 236).

Aa

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

About this color

#9F5BEC is a medium-dark, vivid purple. In OKLCH its lightness is 62%, its chroma 0.211 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.016 away. Black text reads best on it, at 5.18:1.

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

Values

HEX#9F5BEC
RGBrgb(159, 91, 236)
HSLhsl(268, 79%, 64%)
OKLCHoklch(61.7% 0.211 302.2)

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 #9F5BEC 4.05:1 AA large text Lc -72.7 Content text, not long reading
Black text on #9F5BEC 5.18:1 AA Lc 36.8 Non-text elements, placeholder text
#9F5BEC text on white 4.05:1 AA large text Lc 67.2 Content text, not long reading
#9F5BEC text on black 5.18:1 AA Lc -34.4 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

    #B584F5

    oklch(70.7% 0.166 302.4)

  6. Step 500

    500 (this color)

    #9F5BEC

    oklch(61.7% 0.211 302.2)

  7. Step 600

    600

    #8F3FDF

    oklch(55.6% 0.229 302.2)

  8. Step 700

    700

    #7A2FC2

    oklch(49.2% 0.213 302.1)

  9. Step 800

    800

    #63299D

    oklch(42.7% 0.177 302.1)

  10. Step 900

    900

    #50287D

    oklch(37.7% 0.138 301.7)

  11. Step 950

    950

    #2F1949

    oklch(27.1% 0.087 302.1)

Export this scale for Tailwind in the Tailwind colors tool

#9F5BEC 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)#007DF10.165
Deuteranopia (no green cones)#2D7EE90.153
Tritanopia (no blue cones)#907A9B0.158
Achromatopsia (no color)#7E7E7E0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F5BEC

    #9F5BEC

    oklch(61.7% 0.211 302.2)

  • #769200

    #769200

    oklch(61.6% 0.15 122.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F5BEC

    #9F5BEC

    oklch(61.7% 0.211 302.2)

  • #5E74FF

    #5E74FF

    oklch(61.8% 0.206 272.1)

  • #C946BC

    #C946BC

    oklch(61.7% 0.211 332)

Open the analogous palette in the generator

Split complementary

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

  • #9F5BEC

    #9F5BEC

    oklch(61.7% 0.211 302.2)

  • #A08200

    #A08200

    oklch(61.7% 0.126 92.5)

  • #00A051

    #00A051

    oklch(61.8% 0.163 152)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F5BEC

    #9F5BEC

    oklch(61.7% 0.211 302.2)

  • #C06E00

    #C06E00

    oklch(61.7% 0.142 62)

  • #009B8B

    #009B8B

    oklch(61.9% 0.111 182.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F5BEC

    #9F5BEC

    oklch(61.7% 0.211 302.2)

  • #E93E21

    #E93E21

    oklch(61.8% 0.212 32.1)

  • #769200

    #769200

    oklch(61.6% 0.15 122.2)

  • #0096AB

    #0096AB

    oklch(61.8% 0.108 212)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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