#9C6FEB

Closest named color: Medium Purple (#9370DB). oklch(64.3% 0.181 297.9), rgb(156, 111, 235).

Aa

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

About this color

#9C6FEB is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.181 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.028 away. Black text reads best on it, at 5.88:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.181)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.88:1
White text3.56:1

Values

HEX#9C6FEB
RGBrgb(156, 111, 235)
HSLhsl(262, 76%, 68%)
OKLCHoklch(64.3% 0.181 297.9)

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 #9C6FEB 3.56:1 AA large text Lc -68.5 Content text, not long reading
Black text on #9C6FEB 5.88:1 AA Lc 41.1 Non-text elements, placeholder text
#9C6FEB text on white 3.56:1 AA large text Lc 63.0 Content text, not long reading
#9C6FEB text on black 5.88:1 AA Lc -38.7 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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7F9

    oklch(93.6% 0.024 296.1)

  3. Step 200

    200

    #DCD3F6

    oklch(88.5% 0.049 297.2)

  4. Step 300

    300

    #C7B5F3

    oklch(81% 0.088 297.7)

  5. Step 400

    400

    #AC8CED

    oklch(70.8% 0.141 297.9)

  6. Step 500

    500 (this color)

    #9C6FEB

    oklch(64.3% 0.181 297.9)

  7. Step 600

    600

    #844FD5

    oklch(55.6% 0.197 297.9)

  8. Step 700

    700

    #703FB8

    oklch(49.2% 0.182 298)

  9. Step 800

    800

    #5B3595

    oklch(42.7% 0.151 297.9)

  10. Step 900

    900

    #4A2F77

    oklch(37.6% 0.119 297.7)

  11. Step 950

    950

    #2B1C46

    oklch(26.9% 0.076 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#9C6FEB 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)#3E88EF0.123
Deuteranopia (no green cones)#4B86E80.113
Tritanopia (no blue cones)#8B88A30.141
Achromatopsia (no color)#8888880.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C6FEB

    #9C6FEB

    oklch(64.3% 0.181 297.9)

  • #869800

    #869800

    oklch(64.3% 0.149 117.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C6FEB

    #9C6FEB

    oklch(64.3% 0.181 297.9)

  • #5E83FA

    #5E83FA

    oklch(64.3% 0.182 268)

  • #C55EC4

    #C55EC4

    oklch(64.3% 0.181 327.8)

Open the analogous palette in the generator

Split complementary

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

  • #9C6FEB

    #9C6FEB

    oklch(64.3% 0.181 297.9)

  • #AF8700

    #AF8700

    oklch(64.4% 0.132 87.6)

  • #16A946

    #16A946

    oklch(64.3% 0.181 147.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C6FEB

    #9C6FEB

    oklch(64.3% 0.181 297.9)

  • #D07100

    #D07100

    oklch(64.4% 0.154 58.2)

  • #00A48D

    #00A48D

    oklch(64.3% 0.118 178)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C6FEB

    #9C6FEB

    oklch(64.3% 0.181 297.9)

  • #E6564B

    #E6564B

    oklch(64.2% 0.181 27.6)

  • #869800

    #869800

    oklch(64.3% 0.149 117.8)

  • #009FB0

    #009FB0

    oklch(64.3% 0.111 208.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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