#9A6BEE

Closest named color: Medium Purple (#9370DB). oklch(63.7% 0.19 297.3), rgb(154, 107, 238).

Aa

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

About this color

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

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

Values

HEX#9A6BEE
RGBrgb(154, 107, 238)
HSLhsl(262, 79%, 68%)
OKLCHoklch(63.7% 0.19 297.3)

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 #9A6BEE 3.67:1 AA large text Lc -69.5 Content text, not long reading
Black text on #9A6BEE 5.71:1 AA Lc 40.1 Non-text elements, placeholder text
#9A6BEE text on white 3.67:1 AA large text Lc 64.0 Content text, not long reading
#9A6BEE text on black 5.71:1 AA Lc -37.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

    #EBE6FA

    oklch(93.5% 0.027 297.3)

  3. Step 200

    200

    #DCD3F8

    oklch(88.6% 0.051 296.5)

  4. Step 300

    300

    #C7B4F6

    oklch(80.9% 0.094 297.5)

  5. Step 400

    400

    #AB8AF1

    oklch(70.6% 0.149 297.2)

  6. Step 500

    500 (this color)

    #9A6BEE

    oklch(63.7% 0.19 297.3)

  7. Step 600

    600

    #844CDA

    oklch(55.6% 0.206 297.3)

  8. Step 700

    700

    #703CBD

    oklch(49.1% 0.191 297.3)

  9. Step 800

    800

    #5B3399

    oklch(42.8% 0.158 297.2)

  10. Step 900

    900

    #4A2E7A

    oklch(37.7% 0.124 297)

  11. Step 950

    950

    #2B1C47

    oklch(27% 0.078 297)

Export this scale for Tailwind in the Tailwind colors tool

#9A6BEE 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)#2F86F20.131
Deuteranopia (no green cones)#3F84EB0.122
Tritanopia (no blue cones)#8786A20.149
Achromatopsia (no color)#8585850.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A6BEE

    #9A6BEE

    oklch(63.7% 0.19 297.3)

  • #859600

    #859600

    oklch(63.7% 0.148 117.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A6BEE

    #9A6BEE

    oklch(63.7% 0.19 297.3)

  • #5881FD

    #5881FD

    oklch(63.8% 0.19 267.1)

  • #C559C6

    #C559C6

    oklch(63.8% 0.19 327.2)

Open the analogous palette in the generator

Split complementary

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

  • #9A6BEE

    #9A6BEE

    oklch(63.7% 0.19 297.3)

  • #AD8500

    #AD8500

    oklch(63.7% 0.13 87.3)

  • #00A83E

    #00A83E

    oklch(63.7% 0.188 147.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A6BEE

    #9A6BEE

    oklch(63.7% 0.19 297.3)

  • #CE6E00

    #CE6E00

    oklch(63.6% 0.154 57.2)

  • #00A28A

    #00A28A

    oklch(63.7% 0.118 177.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A6BEE

    #9A6BEE

    oklch(63.7% 0.19 297.3)

  • #E84F46

    #E84F46

    oklch(63.7% 0.191 27.2)

  • #859600

    #859600

    oklch(63.7% 0.148 117.5)

  • #009DAD

    #009DAD

    oklch(63.6% 0.109 207.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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