#A866DA

Closest named color: Medium Purple (#9370DB). oklch(63.2% 0.177 308.4), rgb(168, 102, 218).

Aa

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

About this color

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

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

Values

HEX#A866DA
RGBrgb(168, 102, 218)
HSLhsl(274, 61%, 63%)
OKLCHoklch(63.2% 0.177 308.4)

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 #A866DA 3.76:1 AA large text Lc -70.4 Content text, not long reading
Black text on #A866DA 5.57:1 AA Lc 39.2 Non-text elements, placeholder text
#A866DA text on white 3.76:1 AA large text Lc 64.9 Content text, not long reading
#A866DA text on black 5.57:1 AA Lc -36.8 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE6F7

    oklch(93.7% 0.025 309.4)

  3. Step 200

    200

    #E2D1F2

    oklch(88.5% 0.048 308.5)

  4. Step 300

    300

    #D0B2EC

    oklch(80.9% 0.086 308)

  5. Step 400

    400

    #B987E2

    oklch(70.7% 0.139 308.5)

  6. Step 500

    500 (this color)

    #A866DA

    oklch(63.2% 0.177 308.4)

  7. Step 600

    600

    #9349C7

    oklch(55.5% 0.193 308.4)

  8. Step 700

    700

    #7D39AC

    oklch(49% 0.179 308.3)

  9. Step 800

    800

    #66318B

    oklch(42.7% 0.147 308.5)

  10. Step 900

    900

    #532C6F

    oklch(37.6% 0.115 308.7)

  11. Step 950

    950

    #311B41

    oklch(27.1% 0.072 309.1)

Export this scale for Tailwind in the Tailwind colors tool

#A866DA 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)#4381DE0.144
Deuteranopia (no green cones)#5884D70.129
Tritanopia (no blue cones)#A17B960.128
Achromatopsia (no color)#8484840.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #A866DA

    #A866DA

    oklch(63.2% 0.177 308.4)

  • #6B9B00

    #6B9B00

    oklch(63.1% 0.166 128.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A866DA

    #A866DA

    oklch(63.2% 0.177 308.4)

  • #7479F1

    #7479F1

    oklch(63.1% 0.176 278.3)

  • #CB57AD

    #CB57AD

    oklch(63.2% 0.177 338.7)

Open the analogous palette in the generator

Split complementary

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

  • #A866DA

    #A866DA

    oklch(63.2% 0.177 308.4)

  • #9E8A00

    #9E8A00

    oklch(63.2% 0.131 99)

  • #00A367

    #00A367

    oklch(63% 0.146 158.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A866DA

    #A866DA

    oklch(63.2% 0.177 308.4)

  • #BF7700

    #BF7700

    oklch(63.2% 0.138 68.4)

  • #009E96

    #009E96

    oklch(63% 0.109 188.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A866DA

    #A866DA

    oklch(63.2% 0.177 308.4)

  • #DF592B

    #DF592B

    oklch(63.2% 0.178 38.3)

  • #6B9B00

    #6B9B00

    oklch(63.1% 0.166 128.3)

  • #0099B8

    #0099B8

    oklch(63.1% 0.114 219)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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