#9866EB

Closest named color: Lighter Purple (#A55AF4). oklch(62.5% 0.193 297.9), rgb(152, 102, 235).

Aa

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

About this color

#9866EB is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.193 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.034 away. Black text reads best on it, at 5.43:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.193)
Temperaturein between
Nearest nameLighter Purple (#A55AF4)
Black text5.43:1
White text3.86:1

Values

HEX#9866EB
RGBrgb(152, 102, 235)
HSLhsl(263, 77%, 66%)
OKLCHoklch(62.5% 0.193 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 #9866EB 3.86:1 AA large text Lc -71.2 Content text, not long reading
Black text on #9866EB 5.43:1 AA Lc 38.3 Non-text elements, placeholder text
#9866EB text on white 3.86:1 AA large text Lc 65.7 Content text, not long reading
#9866EB text on black 5.43:1 AA Lc -35.9 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

    #DDD2F8

    oklch(88.5% 0.053 298.5)

  4. Step 300

    300

    #C8B4F6

    oklch(81% 0.094 298.2)

  5. Step 400

    400

    #AD8AF2

    oklch(70.8% 0.151 298)

  6. Step 500

    500 (this color)

    #9866EB

    oklch(62.5% 0.193 297.9)

  7. Step 600

    600

    #854ADB

    oklch(55.5% 0.21 297.8)

  8. Step 700

    700

    #713ABE

    oklch(49.1% 0.195 297.8)

  9. Step 800

    800

    #5C319A

    oklch(42.7% 0.162 297.9)

  10. Step 900

    900

    #4B2D7A

    oklch(37.6% 0.126 298)

  11. Step 950

    950

    #2C1B48

    oklch(27% 0.081 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#9866EB 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)#2482EF0.137
Deuteranopia (no green cones)#3980E80.127
Tritanopia (no blue cones)#85829F0.151
Achromatopsia (no color)#8282820.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #9866EB

    #9866EB

    oklch(62.5% 0.193 297.9)

  • #819200

    #819200

    oklch(62.4% 0.145 117.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9866EB

    #9866EB

    oklch(62.5% 0.193 297.9)

  • #567CFB

    #567CFB

    oklch(62.6% 0.194 267.9)

  • #C353C2

    #C353C2

    oklch(62.6% 0.195 327.9)

Open the analogous palette in the generator

Split complementary

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

  • #9866EB

    #9866EB

    oklch(62.5% 0.193 297.9)

  • #A88200

    #A88200

    oklch(62.6% 0.128 87.9)

  • #00A440

    #00A440

    oklch(62.7% 0.182 147.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9866EB

    #9866EB

    oklch(62.5% 0.193 297.9)

  • #C96C00

    #C96C00

    oklch(62.6% 0.15 57.7)

  • #009E88

    #009E88

    oklch(62.6% 0.115 178.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9866EB

    #9866EB

    oklch(62.5% 0.193 297.9)

  • #E54A3F

    #E54A3F

    oklch(62.6% 0.193 28.1)

  • #819200

    #819200

    oklch(62.4% 0.145 117.7)

  • #0099A9

    #0099A9

    oklch(62.5% 0.107 207.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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