#9C17EF

Closest named color: Vivid Purple (#9900FA). oklch(55.6% 0.277 305.6), rgb(156, 23, 239).

Aa

White text reads best on this color (5.55:1).

About this color

#9C17EF is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.277 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vivid Purple (#9900FA), ΔE 0.020 away. White text reads best on it, at 5.55:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.277)
Temperaturein between
Nearest nameVivid Purple (#9900FA)
Black text3.78:1
White text5.55:1

Values

HEX#9C17EF
RGBrgb(156, 23, 239)
HSLhsl(277, 87%, 51%)
OKLCHoklch(55.6% 0.277 305.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 #9C17EF 5.55:1 AA Lc -81.1 Fine for body text
Black text on #9C17EF 3.78:1 AA large text Lc 28.3 Dividers and decoration only
#9C17EF text on white 5.55:1 AA Lc 75.8 Fine for body text
#9C17EF text on black 3.78:1 AA large text Lc -26.0 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #EFE4FE

    oklch(93.5% 0.037 304.8)

  3. Step 200

    200

    #E4CEFE

    oklch(88.5% 0.069 305.8)

  4. Step 300

    300

    #D3ACFF

    oklch(80.8% 0.121 305.4)

  5. Step 400

    400

    #BE7BFF

    oklch(70.7% 0.193 305.4)

  6. Step 500

    500

    #B04CFF

    oklch(63.1% 0.253 305.8)

  7. Step 600

    600 (this color)

    #9C17EF

    oklch(55.6% 0.277 305.6)

  8. Step 700

    700

    #8500CF

    oklch(49.1% 0.254 305.5)

  9. Step 800

    800

    #6C0CA8

    oklch(42.6% 0.213 305.5)

  10. Step 900

    900

    #581A85

    oklch(37.7% 0.166 305.9)

  11. Step 950

    950

    #33124E

    oklch(26.9% 0.106 305.5)

Export this scale for Tailwind in the Tailwind colors tool

#9C17EF 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)#0065F40.200
Deuteranopia (no green cones)#0068EB0.203
Tritanopia (no blue cones)#8C5D8E0.193
Achromatopsia (no color)#6868680.280

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C17EF

    #9C17EF

    oklch(55.6% 0.277 305.6)

  • #5F8100

    #5F8100

    oklch(55.7% 0.141 125.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C17EF

    #9C17EF

    oklch(55.6% 0.277 305.6)

  • #5552FF

    #5552FF

    oklch(55.6% 0.247 275.5)

  • #C100A9

    #C100A9

    oklch(55.5% 0.246 335.4)

Open the analogous palette in the generator

Split complementary

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

  • #9C17EF

    #9C17EF

    oklch(55.6% 0.277 305.6)

  • #887200

    #887200

    oklch(55.6% 0.114 95.6)

  • #008A4F

    #008A4F

    oklch(55.7% 0.136 155.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C17EF

    #9C17EF

    oklch(55.6% 0.277 305.6)

  • #A36100

    #A36100

    oklch(55.4% 0.124 65.4)

  • #00857B

    #00857B

    oklch(55.5% 0.097 185.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C17EF

    #9C17EF

    oklch(55.6% 0.277 305.6)

  • #CA3600

    #CA3600

    oklch(55.5% 0.191 35.7)

  • #5F8100

    #5F8100

    oklch(55.7% 0.141 125.9)

  • #008197

    #008197

    oklch(55.5% 0.098 215.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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