#A866DB

Closest named color: Medium Purple (#9370DB). oklch(63.2% 0.178 308.2), rgb(168, 102, 219).

Aa

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

About this color

#A866DB is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.178 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.040 away. Black text reads best on it, at 5.58:1.

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

Values

HEX#A866DB
RGBrgb(168, 102, 219)
HSLhsl(274, 62%, 63%)
OKLCHoklch(63.2% 0.178 308.2)

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 #A866DB 3.75:1 AA large text Lc -70.3 Content text, not long reading
Black text on #A866DB 5.58:1 AA Lc 39.3 Non-text elements, placeholder text
#A866DB text on white 3.75:1 AA large text Lc 64.8 Content text, not long reading
#A866DB text on black 5.58:1 AA Lc -36.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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  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

    #B987E3

    oklch(70.7% 0.14 308.2)

  6. Step 500

    500 (this color)

    #A866DB

    oklch(63.2% 0.178 308.2)

  7. Step 600

    600

    #9349C8

    oklch(55.6% 0.194 308.1)

  8. Step 700

    700

    #7D39AD

    oklch(49.1% 0.18 308)

  9. Step 800

    800

    #66308C

    oklch(42.7% 0.15 308.3)

  10. Step 900

    900

    #532C70

    oklch(37.7% 0.117 308.3)

  11. Step 950

    950

    #301B42

    oklch(27% 0.073 307)

Export this scale for Tailwind in the Tailwind colors tool

#A866DB 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)#4281DF0.144
Deuteranopia (no green cones)#5884D80.129
Tritanopia (no blue cones)#A17B970.127
Achromatopsia (no color)#8484840.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #A866DB

    #A866DB

    oklch(63.2% 0.178 308.2)

  • #6C9B00

    #6C9B00

    oklch(63.2% 0.165 128)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A866DB

    #A866DB

    oklch(63.2% 0.178 308.2)

  • #7479F2

    #7479F2

    oklch(63.2% 0.178 278.2)

  • #CB57AE

    #CB57AE

    oklch(63.2% 0.178 338.3)

Open the analogous palette in the generator

Split complementary

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

  • #A866DB

    #A866DB

    oklch(63.2% 0.178 308.2)

  • #9F8A00

    #9F8A00

    oklch(63.3% 0.131 98.4)

  • #00A467

    #00A467

    oklch(63.3% 0.147 158.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A866DB

    #A866DB

    oklch(63.2% 0.178 308.2)

  • #BF7700

    #BF7700

    oklch(63.2% 0.138 68.4)

  • #009F96

    #009F96

    oklch(63.3% 0.11 187.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A866DB

    #A866DB

    oklch(63.2% 0.178 308.2)

  • #DF592B

    #DF592B

    oklch(63.2% 0.178 38.3)

  • #6C9B00

    #6C9B00

    oklch(63.2% 0.165 128)

  • #009AB7

    #009AB7

    oklch(63.3% 0.113 217.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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