#A871DB

Closest named color: Medium Purple (#9370DB). oklch(64.9% 0.161 306.4), rgb(168, 113, 219).

Aa

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

About this color

#A871DB is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.161 and its hue 306°. 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 6.04:1.

Hue familyPurples
Lightnessmedium-light (65%)
Chromavivid (0.161)
Temperaturein between
Nearest nameMedium Purple (#9370DB)
Black text6.04:1
White text3.47:1

Values

HEX#A871DB
RGBrgb(168, 113, 219)
HSLhsl(271, 60%, 65%)
OKLCHoklch(64.9% 0.161 306.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 #A871DB 3.47:1 AA large text Lc -67.5 Content text, not long reading
Black text on #A871DB 6.04:1 AA Lc 42.1 Non-text elements, placeholder text
#A871DB text on white 3.47:1 AA large text Lc 62.0 Content text, not long reading
#A871DB text on black 6.04:1 AA Lc -39.7 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E0D2F0

    oklch(88.4% 0.043 306.5)

  4. Step 300

    300

    #CDB4E9

    oklch(80.9% 0.078 306.1)

  5. Step 400

    400

    #B48BDE

    oklch(70.7% 0.125 306.1)

  6. Step 500

    500 (this color)

    #A871DB

    oklch(64.9% 0.161 306.4)

  7. Step 600

    600

    #8E50C2

    oklch(55.6% 0.175 306.6)

  8. Step 700

    700

    #7840A8

    oklch(49% 0.163 306.1)

  9. Step 800

    800

    #623688

    oklch(42.8% 0.135 306.3)

  10. Step 900

    900

    #50306D

    oklch(37.8% 0.105 306.2)

  11. Step 950

    950

    #2F1C40

    oklch(27% 0.068 306.8)

Export this scale for Tailwind in the Tailwind colors tool

#A871DB 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)#5488DF0.122
Deuteranopia (no green cones)#638AD80.111
Tritanopia (no blue cones)#A0839C0.117
Achromatopsia (no color)#8A8A8A0.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #A871DB

    #A871DB

    oklch(64.9% 0.161 306.4)

  • #769F13

    #769F13

    oklch(64.9% 0.16 126.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #A871DB

    #A871DB

    oklch(64.9% 0.161 306.4)

  • #7782EF

    #7782EF

    oklch(64.9% 0.161 276.6)

  • #CA64B3

    #CA64B3

    oklch(65% 0.16 336.6)

Open the analogous palette in the generator

Split complementary

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

  • #A871DB

    #A871DB

    oklch(64.9% 0.161 306.4)

  • #A78E00

    #A78E00

    oklch(65% 0.134 96.5)

  • #00AA66

    #00AA66

    oklch(64.9% 0.156 156.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #A871DB

    #A871DB

    oklch(64.9% 0.161 306.4)

  • #C97A00

    #C97A00

    oklch(65% 0.145 66.1)

  • #00A59A

    #00A59A

    oklch(65% 0.114 186.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #A871DB

    #A871DB

    oklch(64.9% 0.161 306.4)

  • #DF6543

    #DF6543

    oklch(65.1% 0.161 36.4)

  • #769F13

    #769F13

    oklch(64.9% 0.16 126.2)

  • #00A0BC

    #00A0BC

    oklch(65% 0.116 216.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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