#9866E5

Closest named color: Medium Purple (#9370DB). oklch(62.2% 0.186 299.1), rgb(152, 102, 229).

Aa

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

About this color

#9866E5 is a medium-light, vivid purple. In OKLCH its lightness is 62%, its chroma 0.186 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.030 away. Black text reads best on it, at 5.36:1.

Hue familyPurples
Lightnessmedium-light (62%)
Chromavivid (0.186)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.36:1
White text3.91:1

Values

HEX#9866E5
RGBrgb(152, 102, 229)
HSLhsl(264, 71%, 65%)
OKLCHoklch(62.2% 0.186 299.1)

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 #9866E5 3.91:1 AA large text Lc -71.7 Content text, not long reading
Black text on #9866E5 5.36:1 AA Lc 37.9 Non-text elements, placeholder text
#9866E5 text on white 3.91:1 AA large text Lc 66.2 Content text, not long reading
#9866E5 text on black 5.36:1 AA Lc -35.5 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

    #ECE6FA

    oklch(93.6% 0.027 299.5)

  3. Step 200

    200

    #DDD2F7

    oklch(88.4% 0.052 298.9)

  4. Step 300

    300

    #C8B4F4

    oklch(80.9% 0.091 298.7)

  5. Step 400

    400

    #AE8AEE

    oklch(70.7% 0.146 299.2)

  6. Step 500

    500 (this color)

    #9866E5

    oklch(62.2% 0.186 299.1)

  7. Step 600

    600

    #864CD6

    oklch(55.5% 0.202 299)

  8. Step 700

    700

    #723CBA

    oklch(49.1% 0.188 298.9)

  9. Step 800

    800

    #5D3396

    oklch(42.7% 0.155 299.2)

  10. Step 900

    900

    #4C2E78

    oklch(37.8% 0.122 299.2)

  11. Step 950

    950

    #2C1C46

    oklch(27% 0.076 298.8)

Export this scale for Tailwind in the Tailwind colors tool

#9866E5 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)#2E81E90.133
Deuteranopia (no green cones)#4080E20.123
Tritanopia (no blue cones)#87809C0.144
Achromatopsia (no color)#8181810.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #9866E5

    #9866E5

    oklch(62.2% 0.186 299.1)

  • #7E9200

    #7E9200

    oklch(62.2% 0.146 119)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9866E5

    #9866E5

    oklch(62.2% 0.186 299.1)

  • #5A7BF5

    #5A7BF5

    oklch(62.2% 0.186 269)

  • #C155BC

    #C155BC

    oklch(62.2% 0.185 329.3)

Open the analogous palette in the generator

Split complementary

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

  • #9866E5

    #9866E5

    oklch(62.2% 0.186 299.1)

  • #A58100

    #A58100

    oklch(62% 0.127 88.9)

  • #00A245

    #00A245

    oklch(62.2% 0.176 149)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9866E5

    #9866E5

    oklch(62.2% 0.186 299.1)

  • #C66C00

    #C66C00

    oklch(62.1% 0.148 58.7)

  • #009C88

    #009C88

    oklch(62% 0.113 179.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9866E5

    #9866E5

    oklch(62.2% 0.186 299.1)

  • #E14D3E

    #E14D3E

    oklch(62.2% 0.187 29.2)

  • #7E9200

    #7E9200

    oklch(62.2% 0.146 119)

  • #0098A9

    #0098A9

    oklch(62.2% 0.107 208.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9866E5.

Similar named colors

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

Use #9866E5 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.