#9C5FEB

Closest named color: Lighter Purple (#A55AF4). oklch(61.9% 0.204 300.6), rgb(156, 95, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.204)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.25:1
White text3.99:1

Values

HEX#9C5FEB
RGBrgb(156, 95, 235)
HSLhsl(266, 78%, 65%)
OKLCHoklch(61.9% 0.204 300.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 #9C5FEB 3.99:1 AA large text Lc -72.4 Content text, not long reading
Black text on #9C5FEB 5.25:1 AA Lc 37.2 Non-text elements, placeholder text
#9C5FEB text on white 3.99:1 AA large text Lc 66.9 Content text, not long reading
#9C5FEB text on black 5.25:1 AA Lc -34.8 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

    #EDE6FB

    oklch(93.7% 0.029 301)

  3. Step 200

    200

    #DFD1F9

    oklch(88.5% 0.056 301.2)

  4. Step 300

    300

    #CBB2F7

    oklch(80.9% 0.099 300.8)

  5. Step 400

    400

    #B286F4

    oklch(70.7% 0.161 300.8)

  6. Step 500

    500 (this color)

    #9C5FEB

    oklch(61.9% 0.204 300.6)

  7. Step 600

    600

    #8B44DE

    oklch(55.6% 0.222 300.3)

  8. Step 700

    700

    #7733C0

    oklch(49.1% 0.206 300.9)

  9. Step 800

    800

    #602D9C

    oklch(42.8% 0.171 300.2)

  10. Step 900

    900

    #4E2A7C

    oklch(37.7% 0.133 300.2)

  11. Step 950

    950

    #2E1A48

    oklch(27% 0.083 301.1)

Export this scale for Tailwind in the Tailwind colors tool

#9C5FEB 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)#037FEF0.157
Deuteranopia (no green cones)#317EE80.143
Tritanopia (no blue cones)#8B7C9C0.154
Achromatopsia (no color)#7F7F7F0.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C5FEB

    #9C5FEB

    oklch(61.9% 0.204 300.6)

  • #7A9200

    #7A9200

    oklch(61.9% 0.148 120.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C5FEB

    #9C5FEB

    oklch(61.9% 0.204 300.6)

  • #5A76FE

    #5A76FE

    oklch(61.8% 0.204 270.6)

  • #C64BBE

    #C64BBE

    oklch(61.9% 0.204 330.4)

Open the analogous palette in the generator

Split complementary

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

  • #9C5FEB

    #9C5FEB

    oklch(61.9% 0.204 300.6)

  • #A38200

    #A38200

    oklch(62% 0.127 90.8)

  • #00A14C

    #00A14C

    oklch(62% 0.168 150.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C5FEB

    #9C5FEB

    oklch(61.9% 0.204 300.6)

  • #C36D00

    #C36D00

    oklch(61.9% 0.145 60.3)

  • #009B89

    #009B89

    oklch(61.8% 0.112 180.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C5FEB

    #9C5FEB

    oklch(61.9% 0.204 300.6)

  • #E7432E

    #E7432E

    oklch(62% 0.204 30.7)

  • #7A9200

    #7A9200

    oklch(61.9% 0.148 120.6)

  • #0097AA

    #0097AA

    oklch(62% 0.107 210.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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