#A166E4

Closest named color: Medium Purple (#9370DB). oklch(63% 0.187 303), rgb(161, 102, 228).

Aa

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

About this color

#A166E4 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.187 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Purple (#9370DB), ΔE 0.035 away. Black text reads best on it, at 5.53:1.

Hue familyPurples
Lightnessmedium-light (63%)
Chromavivid (0.187)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text5.53:1
White text3.79:1

Values

HEX#A166E4
RGBrgb(161, 102, 228)
HSLhsl(268, 70%, 65%)
OKLCHoklch(63% 0.187 303)

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 #A166E4 3.79:1 AA large text Lc -70.6 Content text, not long reading
Black text on #A166E4 5.53:1 AA Lc 39.0 Non-text elements, placeholder text
#A166E4 text on white 3.79:1 AA large text Lc 65.1 Content text, not long reading
#A166E4 text on black 5.53:1 AA Lc -36.6 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F9

    oklch(93.6% 0.026 302.6)

  3. Step 200

    200

    #E0D2F5

    oklch(88.6% 0.05 303.5)

  4. Step 300

    300

    #CCB3F2

    oklch(81% 0.091 302.6)

  5. Step 400

    400

    #B388EB

    oklch(70.7% 0.146 302.9)

  6. Step 500

    500 (this color)

    #A166E4

    oklch(63% 0.187 303)

  7. Step 600

    600

    #8D49D2

    oklch(55.6% 0.203 303.2)

  8. Step 700

    700

    #7839B6

    oklch(49.1% 0.189 303.1)

  9. Step 800

    800

    #613093

    oklch(42.6% 0.156 303)

  10. Step 900

    900

    #4F2C75

    oklch(37.6% 0.122 303.1)

  11. Step 950

    950

    #2E1B45

    oklch(27% 0.077 302.4)

Export this scale for Tailwind in the Tailwind colors tool

#A166E4 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)#3582E80.143
Deuteranopia (no green cones)#4A83E10.130
Tritanopia (no blue cones)#957E9B0.139
Achromatopsia (no color)#8383830.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #A166E4

    #A166E4

    oklch(63% 0.187 303)

  • #789700

    #789700

    oklch(63% 0.154 123)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A166E4

    #A166E4

    oklch(63% 0.187 303)

  • #677BF8

    #677BF8

    oklch(63.1% 0.186 273.1)

  • #C855B8

    #C855B8

    oklch(63% 0.187 333.3)

Open the analogous palette in the generator

Split complementary

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

  • #A166E4

    #A166E4

    oklch(63% 0.187 303)

  • #A48600

    #A48600

    oklch(63% 0.129 93)

  • #00A457

    #00A457

    oklch(63% 0.162 153)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A166E4

    #A166E4

    oklch(63% 0.187 303)

  • #C47200

    #C47200

    oklch(62.9% 0.143 63)

  • #009F90

    #009F90

    oklch(63.1% 0.112 183.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A166E4

    #A166E4

    oklch(63% 0.187 303)

  • #E35135

    #E35135

    oklch(62.9% 0.187 32.9)

  • #789700

    #789700

    oklch(63% 0.154 123)

  • #009AB1

    #009AB1

    oklch(63% 0.11 213.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #A166E4 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.